summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorOmgalof2021-01-16 13:59:23 +0100
committerMichael Brown2021-01-18 13:48:00 +0100
commit0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0 (patch)
tree396750b99b426bde114c7ae3b719ac61da0d8854 /src/util
parent[build] Inhibit spurious array bounds warning on some versions of gcc (diff)
downloadipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.tar.gz
ipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.tar.xz
ipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.zip
[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 <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/genfsimg4
1 files 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