summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-07-20 14:26:54 +0200
committer Eric Hameleers <alien@slackware.com>2016-07-20 14:26:54 +0200
commit4e668700e686cd3f56bfc5cfa00574b1fb2249ca (patch)
tree4f1768f3ca1635ca5fa0e91cad97cea18226719f
parentd00e056cf71cfce98d2658d28e88aa0f063c6c49 (diff)
downloadliveslak-4e668700e686cd3f56bfc5cfa00574b1fb2249ca.tar.gz
liveslak-4e668700e686cd3f56bfc5cfa00574b1fb2249ca.tar.xz
Add the "multilib" squashfs module last so we can distribute it separately.
The file "0020-slackware_multilib-current-x86_64.sxz" (for Slackware64-current) or "0020-slackware_multilib-14.2-x86_64.sxz" (for Slackware64 14.2) can be extracted from the ISO afterwards and distributed separately and independently from the Slackware Live ISOs. If you want to add multilib to your persistent USB version of Slackware Live, you just copy the above squashfs module into the /liveslak/addons/ directory of the liveslak partition on the stick (this enables multilib by default). or else copy it to /liveslak/optional/ if you want to enable multilib on boot manually by adding a "load=multilib" boot parameter.
-rwxr-xr-xmake_slackware_live.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index d0bd5a4..75cff64 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -814,18 +814,19 @@ case "$LIVEDE" in
;;
esac
-# Do we need to include multilib?
-if [ "$MULTILIB" = "YES" ]; then
- echo "-- Adding multilib."
- MSEQ="${MSEQ} pkglist:multilib"
-fi
-
# Do we need to create/include additional module(s) defined by a pkglist:
if [ -n "$SEQ_ADDMOD" ]; then
echo "-- Adding ${SEQ_ADDMOD}."
MSEQ="${MSEQ} pkglist:${SEQ_ADDMOD}"
fi
+# Do we need to include multilib?
+# Add these last so we can easily distribute the module separately.
+if [ "$MULTILIB" = "YES" ]; then
+ echo "-- Adding multilib."
+ MSEQ="${MSEQ} pkglist:multilib"
+fi
+
echo "-- Creating '${LIVEDE}' image."
# Module sequence can be composed of multiple sub-sequences: