summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-07-31 22:12:20 +0200
committer Eric Hameleers <alien@slackware.com>2016-07-31 22:12:20 +0200
commit2b26d474cf7d4a0db76c0954be14056fbb07817c (patch)
tree9442c6bc94f0c75b62a23ec3ccbcee510c706a18 /make_slackware_live.sh
parent5df28f715ffcf87647bf3e9833237916877b320d (diff)
downloadliveslak-2b26d474cf7d4a0db76c0954be14056fbb07817c.tar.gz
liveslak-2b26d474cf7d4a0db76c0954be14056fbb07817c.tar.xz
liveinit: allow modules to be organized in subdirectories.
The addons/ and optional/ directory will be searched for *.sxz modules even if they live in subdirectories. This allows you to organize your modules instead of dumping them all into a single directory. If a module fails to load (because it is corrupted for instance) liveinit will mention this on screen and write the modulename to a file '/mnt/live/modules/failed'.
Diffstat (limited to 'make_slackware_live.sh')
-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 5920950..0e5e609 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1704,6 +1704,10 @@ cat $LIVE_TOOLDIR/liveinit | sed \
-e "s/@PERSISTENCE@/$PERSISTENCE/g" \
-e "s/@DARKSTAR@/$LIVE_HOSTNAME/g" \
-e "s/@LIVEUID@/$LIVEUID/g" \
+ -e "s/@DISTRO@/$DISTRO/g" \
+ -e "s/@CDISTRO@/${DISTRO^}/g" \
+ -e "s/@UDISTRO@/${DISTRO^^}/g" \
+ -e "s/@VERSION@/$VERSION/g" \
> ${LIVE_ROOTDIR}/boot/initrd-tree/init
cat /dev/null > ${LIVE_ROOTDIR}/boot/initrd-tree/luksdev
# We do not add openobex to the initrd and don't want to see irrelevant errors: