summaryrefslogtreecommitdiffstats
path: root/src/util/genfsimg
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/util/genfsimg
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/util/genfsimg')
-rwxr-xr-xsrc/util/genfsimg13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg
index a981a62d8..ac4bbadf8 100755
--- a/src/util/genfsimg
+++ b/src/util/genfsimg
@@ -78,6 +78,12 @@ efi_boot_name() {
"64aa" )
echo "BOOTAA64.EFI"
;;
+ "6450" )
+ echo "BOOTRISCV64.EFI"
+ ;;
+ "3250" )
+ echo "BOOTRISCV32.EFI"
+ ;;
* )
echo "${FILENAME}: unrecognised EFI architecture ${ARCH}" >&2
exit 1
@@ -287,6 +293,7 @@ if [ -n "${ISOIMG}" ] ; then
MKISOFS=
MKISOFS_MISSING=
MKISOFS_NOTSUP=
+ NOISOHYBRID=
for CMD in genisoimage mkisofs xorrisofs ; do
if ! "${CMD}" --version >/dev/null 2>&1 ; then
MKISOFS_MISSING="${MKISOFS_MISSING} ${CMD}"
@@ -309,11 +316,15 @@ if [ -n "${ISOIMG}" ] ; then
echo "${0}: cannot find a suitable mkisofs or equivalent" >&2
exit 1
fi
+ if [ "${MKISOFS}" = "xorrisofs" ] ; then
+ ISOARGS="${ISOARGS} -isohybrid-gpt-basdat"
+ NOISOHYBRID=1
+ fi
"${MKISOFS}" -quiet -volid "iPXE" -preparer "iPXE build system" \
-appid "iPXE - Open Source Network Boot Firmware" \
-publisher "ipxe.org" -sysid "iPXE" -o "${ISOIMG}" \
${ISOARGS} "${ISODIR}"
- if isohybrid --version >/dev/null 2>&1 ; then
+ if [ -z "${NOISOHYBRID}" ] && isohybrid --version >/dev/null 2>&1 ; then
ISOHYBRIDARGS=
if [ -n "${EFI}" ] ; then
ISOHYBRIDARGS="${ISOHYBRIDARGS} --uefi"