diff options
author | Eric Hameleers <alien@slackware.com> | 2017-04-17 16:17:52 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-04-17 16:17:52 +0200 |
commit | fa002b8806700e15f3ece2e8bf81420f0bcbdcdc (patch) | |
tree | 2c52b4acd1b8f93ab8689845d780b3ae557087da /make_slackware_live.sh | |
parent | e5bdc205e536470e2f3e648d3fe0320da78ae5a3 (diff) | |
download | liveslak-fa002b8806700e15f3ece2e8bf81420f0bcbdcdc.tar.gz liveslak-fa002b8806700e15f3ece2e8bf81420f0bcbdcdc.tar.xz |
Fix determination of the correct KAPPEND value.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 1f8975d..70e52bc 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -194,11 +194,10 @@ SEQ_STUDW="tagfile:a,ap,d,e,f,k,kde,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra,st # Lots of HID modules added to support keyboard input for LUKS password entry: KMODS=${KMODS:-"squashfs:overlay:loop:xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:mmc-core:sdhci:usb-storage:hid:usbhid:i2c-hid:hid-generic:hid-apple:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd:mbcache:ext3:ext4:isofs:fat:nls_cp437:nls_iso8859-1:msdos:vfat:ntfs"} -# If any Live variant needs additional 'append' parameters, define them here: -case "$LIVEDE" in - STUDIOWARE) KAPPEND=${KAPPEND:-"threadirqs"} ;; - *) ;; -esac +# If any Live variant needs additional 'append' parameters, define them here, +# either using a variable name 'KAPPEND_<LIVEDE>', or by defining 'KAPPEND' in the .conf file: +KAPPEND_SLACKWARE="" +KAPPEND_STUDIOWARE="threadirqs" # Firmware for wired network cards required for NFS root support: NETFIRMWARE="3com acenic adaptec bnx tigon e100 sun kaweth tr_smctr cxgb3" @@ -2057,6 +2056,11 @@ 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 ${SXZ_COMP} -b 1M +# 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/ |