Codebase list live-build / debian/3.0.5-1kali6
Tweak the xorriso command line to use old way of supporting EFI Use the xorriso syntax that doesn't create a GPT but does create an EFI partition recorded in MBR. This one is know to work on MAC and on most UEFI implementations (even if the lack of GPT makes it non-conforming in theory). Raphaël Hertzog 9 years ago
2 changed file(s) with 15 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 live-build (3.0.5-1kali6) kali; urgency=medium
1
2 * Use the xorriso syntax that doesn't create a GPT but does create
3 an EFI partition recorded in MBR. This one is know to work on MAC
4 and on most UEFI implementations (even if the lack of GPT makes
5 it non-conforming in theory).
6
7 -- Raphaël Hertzog <[email protected]> Mon, 21 Jul 2014 16:53:29 +0200
8
09 live-build (3.0.5-1kali5) kali; urgency=medium
110
211 * Drop -isohybrid-apm-hfsplus as recommended by Thomas Schmitt.
4848 esac
4949
5050 +if [ -e binary/boot/efi.img ]; then
51 + if [ "$XORRISO_VER" -le 10202 ]; then
51 + #if [ "$XORRISO_VER" -le 10202 ]; then
5252 + # 1.2.2 shipping in wheezy
5353 + Echo "Using older EFI command line for xorriso $XORRISO_VER"
5454 + # Tell xorriso to create a secondary ElTorito boot record for the
5858 + # also boot on a USB key (like isohybrid, just implemented
5959 + # differently)
6060 + XORRISO_OPTIONS="${XORRISO_OPTIONS} -append_partition 2 0x01 binary/boot/efi.img"
61 + else
62 + Echo "Using newer EFI support in xorriso $XORRISO_VER"
63 + XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/efi.img -no-emul-boot"
64 + XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat"
65 + fi
61 + #else
62 + # Echo "Using newer EFI support in xorriso $XORRISO_VER"
63 + # XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/efi.img -no-emul-boot"
64 + # XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat"
65 + #fi
6666 +else
6767 + Echo "No EFI boot code to include in the ISO"
6868 +fi