aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-09-17 22:02:45 +0200
committer Eric Hameleers <alien@slackware.com>2023-09-17 22:02:45 +0200
commitd2ff08610bfbf965d5b0b2aab31eeb0746053e65 (patch)
tree44145ac555bac4a74b21406209d2fd9c6fc2087d
parent279c3b95dc65d474c3472d88143144fefba0b3ca (diff)
downloadliveslak-d2ff08610bfbf965d5b0b2aab31eeb0746053e65.tar.gz
liveslak-d2ff08610bfbf965d5b0b2aab31eeb0746053e65.tar.xz
Prevent useless re-mounting of squashfs and overlay filesystems
This is not necessary, annoying and pollutes the screen during boot-up.
-rwxr-xr-xmake_slackware_live.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index d25e376..e84e9df 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -3218,6 +3218,10 @@ touch ${LIVE_ROOTDIR}/etc/fastboot
# We will not write to the hardware clock:
sed -i -e '/systohc/s/^/# /' ${LIVE_ROOTDIR}/etc/rc.d/rc.6
+# Don't try to re-mount our squashfs and overlay filesystems:
+sed -e 's/^ *SKIPFS="no/&squashfs,nooverlay,no/' \
+ -i ${LIVE_ROOTDIR}/etc/rc.d/rc.S
+
# 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: