From 0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0 Mon Sep 17 00:00:00 2001 From: Omgalof Date: Sat, 16 Jan 2021 09:59:23 -0300 Subject: [PATCH] [build] Include xorrisofs as a viable mkisofs equivalent Add support for xorrisofs, a GNU mkisofs equivalent that is available in most distro repositories. Modified-by: Michael Brown Signed-off-by: Michael Brown --- src/util/genfsimg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/genfsimg b/src/util/genfsimg index e49d4d7ed..a1fad247e 100755 --- a/src/util/genfsimg +++ b/src/util/genfsimg @@ -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