Mageia Bugzilla – Attachment 8834 Details for
Bug 19935
Custom disk partitioning requests BIOS boot partition on non-GPT disk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to fix detection of whether a BIOS boot partition is required
0002-Fix-bug-in-detecting-whether-a-BIOS-boot-partition-i.patch (text/plain), 896 bytes, created by
Martin Whitaker
on 2017-01-04 13:40:51 CET
(
hide
)
Description:
Patch to fix detection of whether a BIOS boot partition is required
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2017-01-04 13:40:51 CET
Size:
896 bytes
patch
obsolete
>From 78b7bff1aeb0943385ab9bee79e66e581d43a2ff Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <mageia@martin-whitaker.me.uk> >Date: Wed, 4 Jan 2017 11:43:26 +0000 >Subject: [PATCH 2/2] Fix bug in detecting whether a BIOS boot partition is > required (mga#19935). > > >diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm >index c17e3da..6158dd4 100644 >--- a/perl-install/fs/partitioning_wizard.pm >+++ b/perl-install/fs/partitioning_wizard.pm >@@ -78,7 +78,7 @@ Then choose action ``Mount point'' and set it to `/'"), 1) or return; > $ok = ''; > } > } else { >- if (fs::any::is_boot_bios_part_needed($all_hds, $fstab)) { >+ if (fs::any::is_boot_bios_part_needed($all_hds, \@fstab)) { > $in->ask_warn('', N("You must have a BIOS boot partition for non-UEFI GPT-partitioned disks. Please create one before continuing.")); > $ok = ''; > } >-- >2.10.2 >
From 78b7bff1aeb0943385ab9bee79e66e581d43a2ff Mon Sep 17 00:00:00 2001 From: Martin Whitaker <mageia@martin-whitaker.me.uk> Date: Wed, 4 Jan 2017 11:43:26 +0000 Subject: [PATCH 2/2] Fix bug in detecting whether a BIOS boot partition is required (mga#19935). diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index c17e3da..6158dd4 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -78,7 +78,7 @@ Then choose action ``Mount point'' and set it to `/'"), 1) or return; $ok = ''; } } else { - if (fs::any::is_boot_bios_part_needed($all_hds, $fstab)) { + if (fs::any::is_boot_bios_part_needed($all_hds, \@fstab)) { $in->ask_warn('', N("You must have a BIOS boot partition for non-UEFI GPT-partitioned disks. Please create one before continuing.")); $ok = ''; } -- 2.10.2
View Attachment As Raw
Actions:
View
Attachments on
bug 19935
:
8765
|
8798
|
8804
|
8830
|
8833
| 8834