mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 18:30:28 +03:00
[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>
This commit is contained in:
@@ -149,7 +149,7 @@ ISOARGS=
|
|||||||
#
|
#
|
||||||
if [ -n "${ISOIMG}" ] ; then
|
if [ -n "${ISOIMG}" ] ; then
|
||||||
MKISOFS=
|
MKISOFS=
|
||||||
for CMD in genisoimage mkisofs ; do
|
for CMD in genisoimage mkisofs xorrisofs ; do
|
||||||
if ${CMD} --version >/dev/null 2>/dev/null ; then
|
if ${CMD} --version >/dev/null 2>/dev/null ; then
|
||||||
MKISOFS="${CMD}"
|
MKISOFS="${CMD}"
|
||||||
break
|
break
|
||||||
@@ -211,7 +211,7 @@ if [ -n "${ISOIMG}" ] ; then
|
|||||||
ISOARGS="${ISOARGS} -no-emul-boot -eltorito-boot isolinux.bin"
|
ISOARGS="${ISOARGS} -no-emul-boot -eltorito-boot isolinux.bin"
|
||||||
ISOARGS="${ISOARGS} -boot-load-size 4 -boot-info-table"
|
ISOARGS="${ISOARGS} -boot-load-size 4 -boot-info-table"
|
||||||
if [ -n "${EFI}" ] ; then
|
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
|
else
|
||||||
FATIMG=
|
FATIMG=
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user