summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-24 18:00:18 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-24 18:00:18 +0100
commit47433e5a60cd74da9d3abca82febfd4f84157619 (patch)
tree4e751f19e9931d0f64272cefa5031fc6e0aacc44 /make_slackware_live.sh
parent8e8b8921cabb2cb56eb27e1e36222f6eada329c5 (diff)
downloadliveslak-47433e5a60cd74da9d3abca82febfd4f84157619.tar.gz
liveslak-47433e5a60cd74da9d3abca82febfd4f84157619.tar.xz
Stamp a VERSION number in the ISO, and to the USB partition.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh20
1 files changed, 13 insertions, 7 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 72b43e8..e43e23a 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -25,14 +25,18 @@
#
# This script creates a live image for a Slackware OS.
# Features:
-# - boots using isolinux/extlinux
+# - boots using isolinux/extlinux on BIOS, or grub on UEFI.
# - requires kernel >= 4.0 which supports multiple lower layers in overlay
# - uses squashfs to create compressed modules out of directory trees
# - uses overlayfs to bind multiple squashfs modules together
-# - you can add your own modules into ./addons/ subdirectory
+# - you can add your own modules into ./addons/ or ./optional subdirectories.
+# - persistence is enabled when writing the ISO to USB stick using iso2usb.sh.
#
# -----------------------------------------------------------------------------
+# Version of the Live OS generator:
+VERSION="Beta3"
+
# Directory where our live tools are stored:
LIVE_TOOLDIR=${LIVE_TOOLDIR:-"$(cd $(dirname $0); pwd)"}
@@ -141,7 +145,7 @@ SEQ_KDE4BASE="pkglist:min,xbase,xapbase,kde4base"
# List of Slackware package series with Plasma5 instead of KDE 4 (full install):
# - each will become a squashfs module:
-SEQ_PLASMA5="tagfile:a,ap,d,e,f,k,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra,kde4plasma5,plasma5 local:slackpkg+"
+SEQ_PLASMA5="tagfile:a,ap,d,e,f,k,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra,kde4plasma5,plasma5,alien local:slackpkg+"
# List of Slackware package series with MSB instead of KDE 4 (full install):
# - each will become a squashfs module:
@@ -1305,9 +1309,9 @@ mkisofs -o ${OUTPUT}/slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso \
-c boot/syslinux/isolinux.boot \
-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
-eltorito-boot boot/syslinux/efiboot.img \
- -preparer "Built for Slackware${DIRSUFFIX}-Live by ${BUILDER}" \
+ -preparer "$(echo $LIVEDE |sed 's/BASE//') Live built by ${BUILDER}" \
-publisher "The Slackware Linux Project - http://www.slackware.com/" \
- -A "Slackware Live ${SL_VERSION} for ${ARCH}" \
+ -A "Slackware Live ${SL_VERSION} for ${SL_ARCH} ($VERSION)" \
-V "${MEDIALABEL}" \
-x ./$(basename ${LIVE_WORK}) \
-x ./${LIVEMAIN}/bootinst \
@@ -1338,8 +1342,10 @@ else
fi
isohybrid -s $SECTORS -h $HEADS -u ${OUTPUT}/slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso
fi
-md5sum ${OUTPUT}/slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso \
- > ${OUTPUT}/slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso.md5
+cd ${OUTPUT}
+ md5sum slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso \
+ > slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso.md5
+cd - 1>/dev/null
echo "-- Live ISO image created:"
ls -l ${OUTPUT}/slackware${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso*