build64: Fix iso creation on LoongArch (#490)

Ubuntu 24.04 uses xorriisofs V1.5.6, which checks for hybird formats
when `-part_like_isohybird` is used, and will report the core dump if
the MBR is not included.

Removed the `-part_like_isohybird` option on LoongArch to fix it, and
only use EFI boot mode on LoongArch.

Signed-off-by: Chao Li <lichao@loongson.cn>
This commit is contained in:
Chao Li 2025-02-06 20:46:44 +08:00 committed by GitHub
parent e285fbb4b9
commit 37f8bae2dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,8 +195,8 @@ esp.img: memtest.efi
mcopy -s -i esp.img iso/EFI :: mcopy -s -i esp.img iso/EFI ::
memtest.iso: esp.img memtest.iso: esp.img
xorrisofs -pad -R -J -volid MT86PLUS_64 -graft-points \ xorrisofs -pad -R -J -volid MT86PLUS_64_EFI_ONLY -no-emul-boot -graft-points \
-part_like_isohybrid -iso_mbr_part_type 0x00 -append_partition 2 0xef ./esp.img \ -append_partition 2 0xef ./esp.img \
-o ./memtest.iso /EFI=./iso/EFI -o ./memtest.iso /EFI=./iso/EFI
iso: memtest.iso iso: memtest.iso