From 7a200a48ba29eb8093a626eacfbf11fca3e13314 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 10 Nov 2018 22:25:42 +0000 Subject: Support starting isohybrid protective partition at sector 1 Starting at sector 0 causes problems on some old, buggy BIOSs (see mga#5036 for example). --- lib/MGA/DrakISO/BuildISO.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/MGA/DrakISO/BuildISO.pm b/lib/MGA/DrakISO/BuildISO.pm index 7dc3667..532b0db 100644 --- a/lib/MGA/DrakISO/BuildISO.pm +++ b/lib/MGA/DrakISO/BuildISO.pm @@ -129,6 +129,9 @@ sub build_iso_image { # for USB EFI boot '-part_like_isohybrid', '-iso_mbr_part_type', '0x00', + if_($build->{media}{protect_sector_0} eq 'no', + '--protective-msdos-label', + ), '-append_partition', 2, '0xef', $esp_image, ), '-o', $dest, -- cgit v1.2.1