From: Sven Joachim Date: Thu, 31 Oct 2019 08:55:15 +0000 (+0100) Subject: Fix path to syslinux *.c32 files X-Git-Tag: v0.17.0~4^2 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=fd89485327aa143f636a1b4c5f92be590c83d8b0 Fix path to syslinux *.c32 files In syslinux version 6.00 their path has changed, and so grml2usb failed to find the files, using the ones from the grml iso instead. The result was that the bootloader and its files had mismatched versions which could lead to errors on boot, see https://bugs.debian.org/943845. Since syslinux 6.00 is already over six years old, I did not bother to check for the *.c32 in the /usr/lib/syslinux/ directory. --- diff --git a/grml2usb b/grml2usb index 75fcd3e..2103bb9 100755 --- a/grml2usb +++ b/grml2usb @@ -41,7 +41,7 @@ DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifie GRML_FLAVOURS = set() # which flavours are being installed? GRML_DEFAULT = None UUID = None -SYSLINUX_LIBS = "/usr/lib/syslinux/" +SYSLINUX_LIBS = "/usr/lib/syslinux/modules/bios/" GPT_HEADER = b"\x55\xaa\x45\x46\x49\x20\x50\x41\x52\x54" # original GPT header GRUB_INSTALL = None