aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-11-09 14:30:45 +0100
committer Eric Hameleers <alien@slackware.com>2016-11-09 14:30:45 +0100
commit0365023387052963c38c05a5c0334b111ba9b77e (patch)
treeeb1e245ee4dfd2d1d65c357b2a186a8613f6f0cb /make_slackware_live.sh
parent84a48b9e91d973e759c04eccdd30786fa52213f3 (diff)
downloadliveslak-0365023387052963c38c05a5c0334b111ba9b77e.tar.gz
liveslak-0365023387052963c38c05a5c0334b111ba9b77e.tar.xz
Make the name 'min' of the minimal package list customizable.
The 'min' package list contains the generic kernel. This package list is special because the 'make_slackware_live.sh' script will also take care of the ISO boot configuration while processing it. A custom Live OS may want to use a custom filename instead of "min.lst", so the variable $MINLIST was created for that purpose.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 388714f..3c51ed1 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -132,6 +132,11 @@ MARKER=${MARKER:-"SLACKWARELIVE"}
# The filesystem label we will be giving our ISO:
MEDIALABEL=${MEDIALABEL:-"LIVESLAK"}
+# The name of the custom package list containing the generic kernel.
+# This package list is special because the script will also take care of
+# the ISO boot setup when processing the MINLIST package list:
+MINLIST=${MINLIST:-"min"}
+
# For x86_64 you can add multilib:
MULTILIB=${MULTILIB:-"NO"}
@@ -159,11 +164,11 @@ SEQ_SLACKWARE="tagfile:a,ap,d,e,f,k,kde,kdei,l,n,t,tcl,x,xap,xfce,y pkglist:slac
# Stripped-down Slackware with XFCE as the Desktop Environment:
# - each series will become a squashfs module:
-SEQ_XFCEBASE="min,xbase,xapbase,xfcebase"
+SEQ_XFCEBASE="${MINLIST},xbase,xapbase,xfcebase"
# Stripped-down Slackware with KDE4 as the Desktop Environment:
# - each series will become a squashfs module:
-SEQ_KDE4BASE="pkglist:min,xbase,xapbase,kde4base"
+SEQ_KDE4BASE="pkglist:${MINLIST},xbase,xapbase,kde4base"
# List of Slackware package series with Plasma5 instead of KDE 4 (full install):
# - each will become a squashfs module:
@@ -994,7 +999,7 @@ for SPS in ${SL_SERIES} ; do
install_pkgs ${SPS} ${LIVE_ROOTDIR} ${MTYPE}
umount ${LIVE_ROOTDIR} || true
- if [ "$SPS" = "a" -o "$SPS" = "min" ]; then
+ if [ "$SPS" = "a" -o "$SPS" = "${MINLIST}" ]; then
# We need to take care of a few things first:
if [ "$SL_ARCH" = "x86_64" -o "$SMP32" = "NO" ]; then
@@ -1025,7 +1030,7 @@ for SPS in ${SL_SERIES} ; do
# End result: we have our .sxz file and the INSTDIR is empty again,
# Next step is to loop-mount the squashfs file onto INSTDIR.
- elif [ "$SPS" = "a" -o "$SPS" = "min" ]; then
+ elif [ "$SPS" = "a" -o "$SPS" = "${MINLIST}" ]; then
# We need to do a bit more if we skipped creation of 'a' or 'min' module:
# Extract the content of the /boot directory out of the boot module,