]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Include xorrisofs as a viable mkisofs equivalent
authorOmgalof <Omgalof@users.noreply.github.com>
Sat, 16 Jan 2021 12:59:23 +0000 (09:59 -0300)
committerMichael Brown <mcb30@ipxe.org>
Mon, 18 Jan 2021 12:48:00 +0000 (12:48 +0000)
Add support for xorrisofs, a GNU mkisofs equivalent that is available
in most distro repositories.

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

index e49d4d7ed699686ea76a054497c7966ecfc0d126..a1fad247ee0d10ec58f17e8e60967735fc058e38 100755 (executable)
@@ -149,7 +149,7 @@ ISOARGS=
 #
 if [ -n "${ISOIMG}" ] ; then
     MKISOFS=
-    for CMD in genisoimage mkisofs ; do
+    for CMD in genisoimage mkisofs xorrisofs ; do
        if ${CMD} --version >/dev/null 2>/dev/null ; then
            MKISOFS="${CMD}"
            break
@@ -211,7 +211,7 @@ if [ -n "${ISOIMG}" ] ; then
     ISOARGS="${ISOARGS} -no-emul-boot -eltorito-boot isolinux.bin"
     ISOARGS="${ISOARGS} -boot-load-size 4 -boot-info-table"
     if [ -n "${EFI}" ] ; then
-       ISOARGS="${ISOARGS} -eltorito-alt-boot -no-emul-boot -efi-boot esp.img"
+       ISOARGS="${ISOARGS} -eltorito-alt-boot -no-emul-boot -e esp.img"
     else
        FATIMG=
     fi