[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>
pull/141/merge
Omgalof 2021-01-16 09:59:23 -03:00 committed by Michael Brown
parent 8e3826aa10
commit 0fb37a48a9
1 changed files with 2 additions and 2 deletions

View File

@ -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