summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-27 19:41:35 (GMT)
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-27 19:41:35 (GMT)
commit9b6a1f9fb129f4b03c1976422af8ef7f11045df6 (patch)
tree41b2b906862882196b70bd306338ad9950b36579
parentb2d14de103846496a28592d14b8be13eec6e2abe (diff)
Avoid auto-mount errors with 32-bit ISOs.
We start the ISO protective partition at sector 1 on the 32-bit ISOs, to avoid problems with old, buggy BIOSs. But this results in errors when udev attempts to auto-mount the partition, because there isn't a valid filesystem there. Changing the partition type to one of the hidden partition types prevents this.
-rw-r--r--config/build.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index b4ef58f..1905882 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -328,7 +328,8 @@ my $config = {
mbr_boot_img => 'bootloader/images/boot_hybrid.img',
eltorito_img => 'bootloader/images/eltorito.img',
if_($arch eq 'i586',
- protect_sector_0=> 'no',
+ iso_part_start => 1,
+ iso_part_type => '0x17',
efi_type => '32bit',
boot32_efi => 'bootloader/images/bootia32.efi'
),