From 78009b58e39793c8016be2faa04c0f62b7dfd918 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 10 Sep 2017 19:34:14 +0200 Subject: 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. --- make_slackware_live.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'make_slackware_live.sh') 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: -- cgit v1.2.3