From 2b26d474cf7d4a0db76c0954be14056fbb07817c Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 31 Jul 2016 22:12:20 +0200 Subject: 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'. --- make_slackware_live.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'make_slackware_live.sh') 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: -- cgit v1.2.3