path: root/
diff options
author Eric Hameleers <>2017-01-23 15:00:05 +0100
committer Eric Hameleers <>2017-01-23 15:00:05 +0100
commit02fd55b837b5e6e0debfaa93464b424802a68c91 (patch)
tree66998a581f0de6c7b9eba85ef9fd5d8acf26d2a0 /
parentdce5d0d1da24641670b607933804b524e2347980 (diff)
The liveinit script is a template too and cannot be used as-is.
This file was forgotten in the previous commit. It has now also been given a '.tpl' extension in the liveslak sources, to indicate that it is a template and not usable as-is. The '' script parses the template file and performs a series of variable substitutions to generate the final 'init' script inside the initrd of the ISO image.
Diffstat (limited to '')
1 files changed, 1 insertions, 1 deletions
diff --git a/ b/
index 1164691..746bbbc 100755
--- a/
+++ b/
@@ -1876,7 +1876,7 @@ fi
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:
-cat $LIVE_TOOLDIR/liveinit | sed \
+cat $LIVE_TOOLDIR/liveinit.tpl | sed \
-e "s/@MARKER@/$MARKER/g" \