summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-10-31 07:43:37 +0100
committerDaniel Baumann <daniel@debian.org>2012-10-31 07:43:37 +0100
commit63a275bedcdc52be483cb497c5c45e040669f658 (patch)
tree56f479aa4db870e23d01d6b8d358f001f89bdfa6
parent5e20937df48b68148444a85d3f9c80ed84e66d20 (diff)
downloadvyos-live-build-63a275bedcdc52be483cb497c5c45e040669f658.tar.gz
vyos-live-build-63a275bedcdc52be483cb497c5c45e040669f658.zip
Running chrooted commands with DEBCONF_NONINTERACTIVE_SEEN set to true to ensure debconf questions are not reasked uselessly on the final systems.
-rwxr-xr-xfunctions/chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/chroot.sh b/functions/chroot.sh
index 1698cc353..b0895a3f0 100755
--- a/functions/chroot.sh
+++ b/functions/chroot.sh
@@ -28,7 +28,7 @@ Chroot ()
if [ "${LB_USE_FAKEROOT}" != "true" ]
then
- ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NOWARNINGS="${LB_DEBCONF_NOWARNINGS}" ${ENV} ${COMMANDS}
+ ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NONINTERACTIVE_SEEN="true" DEBCONF_NOWARNINGS="${LB_DEBCONF_NOWARNINGS}" ${ENV} ${COMMANDS}
else
# Building with fakeroot/fakechroot
${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" ${ENV} ${COMMANDS}