summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-09-10 19:34:14 +0200
committer Eric Hameleers <alien@slackware.com>2017-09-10 19:34:14 +0200
commit78009b58e39793c8016be2faa04c0f62b7dfd918 (patch)
tree030b910d86932c26128e08725ac9c9381eb80232 /make_slackware_live.sh
parent83f92293c826a2a5ba222ee1133401b56ac9fd3e (diff)
downloadliveslak-78009b58e39793c8016be2faa04c0f62b7dfd918.tar.gz
liveslak-78009b58e39793c8016be2faa04c0f62b7dfd918.tar.xz
Prefer syslinux files available on the computer.
We will use our own copy of syslinux files only as a fallback, because it is safer to use the versions of files that come with syslinux on the computer which runs iso2usb.sh.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 37f95eb..f54e8f9 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2227,6 +2227,9 @@ for SLFILE in message.txt f2.txt syslinux.cfg lang.cfg ; do
-e "s/@SL_VERSION@/$SL_VERSION/g"
fi
done
+# The iso2usb.sh script can use this copy of a MBR file as fallback:
+cp -a /usr/share/syslinux/gptmbr.bin ${LIVE_STAGING}/boot/syslinux/
+# We have memtest in the syslinux bootmenu:
mv ${LIVE_STAGING}/boot/syslinux/memtest ${LIVE_STAGING}/boot/
# Make use of proper console font if we have it available: