Commit 5f046226 authored by Raphaël Hertzog's avatar Raphaël Hertzog
Browse files

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).
parent bd49257f
live-build (3.0.5-1kali6) kali; urgency=medium
* 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 <hertzog@debian.org> Mon, 21 Jul 2014 16:53:29 +0200
live-build (3.0.5-1kali5) kali; urgency=medium
* Drop -isohybrid-apm-hfsplus as recommended by Thomas Schmitt.
......
......@@ -49,7 +49,7 @@ Bug-Kali: https://bugs.kali.org/view.php?id=680
esac
+if [ -e binary/boot/efi.img ]; then
+ if [ "$XORRISO_VER" -le 10202 ]; then
+ #if [ "$XORRISO_VER" -le 10202 ]; then
+ # 1.2.2 shipping in wheezy
+ Echo "Using older EFI command line for xorriso $XORRISO_VER"
+ # Tell xorriso to create a secondary ElTorito boot record for the
......@@ -59,11 +59,11 @@ Bug-Kali: https://bugs.kali.org/view.php?id=680
+ # also boot on a USB key (like isohybrid, just implemented
+ # differently)
+ XORRISO_OPTIONS="${XORRISO_OPTIONS} -append_partition 2 0x01 binary/boot/efi.img"
+ else
+ Echo "Using newer EFI support in xorriso $XORRISO_VER"
+ XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/efi.img -no-emul-boot"
+ XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat"
+ fi
+ #else
+ # Echo "Using newer EFI support in xorriso $XORRISO_VER"
+ # XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/efi.img -no-emul-boot"
+ # XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat"
+ #fi
+else
+ Echo "No EFI boot code to include in the ISO"
+fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment