summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-04 22:08:31 +0200
committerDaniel Baumann <daniel@debian.org>2007-10-04 22:08:31 +0200
commitde59430e16c7eb6b884e4fbd145e384b8d517fea (patch)
tree5bfba61fdb21850ef1d413c045206e18dbc7b634 /helpers/lh_bootstrap_cdebootstrap
parent72fef5a3c6d98207a1f228aeb1302e956ed86fca (diff)
downloadvyos-live-build-de59430e16c7eb6b884e4fbd145e384b8d517fea.tar.gz
vyos-live-build-de59430e16c7eb6b884e4fbd145e384b8d517fea.zip
Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>.
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap8
1 files changed, 5 insertions, 3 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 225b24d4d..b192858df 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -81,17 +81,17 @@ else
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=minimal"
fi
-if [ "${LH_DEBUG}" = "true" ]
+if [ "${LH_DEBUG}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --debug"
fi
-if [ "${LH_QUIET}" = "true" ]
+if [ "${LH_QUIET}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --quiet"
fi
-if [ "${LH_VERBOSE}" = "true" ]
+if [ "${LH_VERBOSE}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
fi
@@ -127,7 +127,9 @@ then
fi
# Executing cdebootstrap (regular run)
+ [ "$LH_QUIET" = "enabled" ] && echo -n "Running cdebootstrap ... "
${LH_ROOT_COMMAND} cdebootstrap ${CDEBOOTSTRAP_OPTIONS} "${LH_DISTRIBUTION}" chroot "${LH_MIRROR_BOOTSTRAP}"
+ [ "$LH_QUIET" = "enabled" ] && echo "done."
if [ -n "${LH_ROOT_COMMAND}" ]
then