mirror of https://github.com/ipxe/ipxe.git
[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
parent
8e3826aa10
commit
0fb37a48a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue