summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-16 12:10:20 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-16 12:10:20 +0100
commit3a581d5650b7d380680b5ee8be6663327bffbc5a (patch)
treed368fb92f94f9a56a4da16036924c6e5f02e89bf /make_slackware_live.sh
parent547f0f5d9744f6c0ba03b0eea2cbb86f878af1a1 (diff)
downloadliveslak-3a581d5650b7d380680b5ee8be6663327bffbc5a.tar.gz
liveslak-3a581d5650b7d380680b5ee8be6663327bffbc5a.tar.xz
Make the configuration of the Live environment less verbose.
There is no added value in seeing all the executed commands scroll by.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index af25874..9995ad1 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -803,7 +803,7 @@ EOT
# If we added slackpkg+ for easier system management, let's configure it too.
# Update the cache for slackpkg:
echo "-- Creating slackpkg cache, takes a few seconds..."
-chroot "${LIVE_ROOTDIR}" <<EOSL 2>${DBGOUT}
+chroot "${LIVE_ROOTDIR}" /bin/bash <<EOSL 2>${DBGOUT}
if [ -f var/log/packages/slackpkg+-* ] ; then
cat <<EOPL > etc/slackpkg/slackpkgplus.conf
@@ -1028,7 +1028,7 @@ sed -i -e '/systohc/s/^/# /' ${LIVE_ROOTDIR}/etc/rc.d/rc.6
# Run some package setup scripts (usually run by the slackware installer),
# as well as some of the delaying commands in rc.M and rc.modules:
-chroot ${LIVE_ROOTDIR} <<EOCR
+chroot ${LIVE_ROOTDIR} /bin/bash <<EOCR
# Rebuild SSL certificate database:
/usr/sbin/update-ca-certificates --fresh 1>/dev/null 2>${DBGOUT}
@@ -1037,7 +1037,7 @@ chroot ${LIVE_ROOTDIR} <<EOCR
/sbin/ldconfig
EOCR
-chroot "${LIVE_ROOTDIR}" <<EOCR
+chroot "${LIVE_ROOTDIR}" /bin/bash <<EOCR
# Update the desktop database:
if [ -x usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications > /dev/null 2>${DBGOUT}