aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-09-17 21:57:52 +0200
committer Eric Hameleers <alien@slackware.com>2023-09-17 21:57:52 +0200
commitc5972958ba85b07992e607aeb924f05ce19806e4 (patch)
tree4a26341a9fc4fa8214702b71c659b4d667fed630
parent19e10dc9e2169470dfc06363b9324f982e372b5e (diff)
downloadliveslak-c5972958ba85b07992e607aeb924f05ce19806e4.tar.gz
liveslak-c5972958ba85b07992e607aeb924f05ce19806e4.tar.xz
make_slackware_live.sh: move KAPPEND definition to an earlier position
The pxeserver.tpl will start using @KAPPEND@ template, so the $KAPPEND variable needs to be defined when we get there.
-rwxr-xr-xmake_slackware_live.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index d1e860e..9ea95fd 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1566,6 +1566,11 @@ else
TRIM=${TRIM:-"none"}
fi
+# Determine additional boot parameters to be added:
+if [ -z ${KAPPEND} ]; then
+ eval KAPPEND=\$KAPPEND_${LIVEDE}
+fi
+
# Determine possible blacklist to use:
if [ -z "${BLACKLIST}" ]; then
eval BLACKLIST=\$BLACKLIST_${LIVEDE}
@@ -3467,11 +3472,6 @@ mv ${LIVE_BOOT}/boot/initrd_${KVER}.img ${LIVE_STAGING}/boot/initrd.img
# Squash the boot directory into its own module:
mksquashfs ${LIVE_BOOT} ${LIVE_MOD_SYS}/0000-${DISTRO}_boot-${SL_VERSION}-${SL_ARCH}.sxz -noappend -comp ${SQ_COMP} ${SQ_COMP_PARAMS}
-# Determine additional boot parameters to be added:
-if [ -z ${KAPPEND} ]; then
- eval KAPPEND=\$KAPPEND_${LIVEDE}
-fi
-
# Copy the syslinux configuration.
# The next block checks here for a possible UEFI grub boot image:
cp -a ${LIVE_TOOLDIR}/syslinux ${LIVE_STAGING}/boot/