aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmgalof <Omgalof@users.noreply.github.com>2021-01-16 09:59:23 -0300
committerMichael Brown <mcb30@ipxe.org>2021-01-18 12:48:00 +0000
commit0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0 (patch)
tree396750b99b426bde114c7ae3b719ac61da0d8854
parent8e3826aa10ee5b2d9f85d6177cc061260f3388df (diff)
downloadipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.zip
ipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.tar.gz
ipxe-0fb37a48a9405a6b3b0c5b198bdd87f1a4bb51f0.tar.bz2
[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>
-rwxr-xr-xsrc/util/genfsimg4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg
index e49d4d7..a1fad24 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