From 1e4f3f38fb15dc789c13468683a87c3d7a8c41e4 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 14 Apr 2019 22:13:08 +0200 Subject: Add missing template vars to upslak.sh Several template vars were added to liveinit.tpl but I had forgotten to also incorporate those in the upslak.sh script. --- make_slackware_live.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index a7d931b..f8cd8b7 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2335,7 +2335,8 @@ fi # Create an initrd for the generic kernel, using a modified init script: echo "-- Creating initrd for kernel-generic $KVER ..." chroot ${LIVE_ROOTDIR} /sbin/mkinitrd -c -w ${WAIT} -l us -o /boot/initrd_${KVER}.img -k ${KVER} -m ${KMODS} -L -C dummy 1>${DBGOUT} 2>${DBGOUT} -# Modify the initrd content for the Live OS: +# Modify the initrd content for the Live OS. +# Note: 'upslak.sh' needs to be updated when this 'cat' command changes: cat $LIVE_TOOLDIR/liveinit.tpl | sed \ -e "s/@LIVEMAIN@/$LIVEMAIN/g" \ -e "s/@MARKER@/$MARKER/g" \ -- cgit v1.2.3