aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-11-29 13:09:18 +0100
committer Eric Hameleers <alien@slackware.com>2015-11-29 13:09:18 +0100
commit1ca0f5e3cdee25d8c1cdfeb046dbfdd26d820bc1 (patch)
tree362c6d249ff779919b581e83536365b6ff6c956c /make_slackware_live.sh
parent675b7e844b488816b3bfdcdf6c8feff9e188ace5 (diff)
downloadliveslak-1ca0f5e3cdee25d8c1cdfeb046dbfdd26d820bc1.tar.gz
liveslak-1ca0f5e3cdee25d8c1cdfeb046dbfdd26d820bc1.tar.xz
Make the 'livemain' directory name configurable in make_slackware_live.sh
This allows customizations for derivative Live OSes. Patch submitted by Manfred Mueller.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 08f17ad..cdc6dad 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1076,6 +1076,7 @@ echo "-- Creating initrd for kernel-generic $KVER ..."
chroot ${LIVE_ROOTDIR} /sbin/mkinitrd -c -l us -o /boot/initrd_${KVER}.gz -k ${KVER} -m ${KMODS} 1>${DBGOUT} 2>${DBGOUT}
cat $LIVE_TOOLDIR/liveinit | sed \
-e "s/@MEDIALABEL@/$MEDIALABEL/g" \
+ -e "s/@LIVEMAIN@/$LIVEMAIN/g" \
-e "s/@DARKSTAR@/$LIVE_HOSTNAME/g" \
> ${LIVE_ROOTDIR}/boot/initrd-tree/init
chroot ${LIVE_ROOTDIR} /sbin/mkinitrd 1>/dev/null 2>${DBGOUT}