]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Fix genfsimg to build ISO with long filenames
authorMatya <mail@matya.hu>
Tue, 20 Apr 2021 11:15:03 +0000 (13:15 +0200)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2021 12:39:39 +0000 (13:39 +0100)
Commit 79c0173 ("[build] Create util/genfsimg for building
filesystem-based images") introduced the new genfsimg, which lacks the
-l option when building ISO files.  This option is required to build
level 2 (long plain) ISO9660 filenames, which are required when using
the .lkrn extensions on older versions of ISOLINUX.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/genfsimg

index c3123f3ed04f9e3e52cd79e5e0e71394a1a8a712..1a0517cc99335ac76acbe183113b298f611ee66b 100755 (executable)
@@ -230,7 +230,7 @@ done
 # since isohybrid will refuse to work without them.
 #
 if [ -n "${ISOIMG}" ] ; then
-    ISOARGS="-J -R"
+    ISOARGS="-J -R -l"
     copy_syslinux_file "isolinux.bin" "${ISODIR}"
     copy_syslinux_file "ldlinux.c32" "${ISODIR}" 2>/dev/null || true
     ISOARGS="${ISOARGS} -no-emul-boot -eltorito-boot isolinux.bin"