Mageia Bugzilla – Attachment 6256 Details for
Bug 1371
installer chooses too little free space on wrong partition (on the recovery partition)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
we should ignore ESP too for that matter...
1371_2.diff (text/plain), 839 bytes, created by
Thierry Vignaud
on 2015-04-13 13:24:06 CEST
(
hide
)
Description:
we should ignore ESP too for that matter...
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-04-13 13:24:06 CEST
Size:
839 bytes
patch
obsolete
>diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm >index 1d33c8b..bbe3ccf 100644 >--- a/perl-install/fs/partitioning_wizard.pm >+++ b/perl-install/fs/partitioning_wizard.pm >@@ -112,8 +112,8 @@ sub partitionWizardSolutions { > push @wizlog, N("There is no existing partition to use"); > } > >- if (my @ok_for_resize_fat = grep { isFat_or_NTFS($_) && !fs::get::part2hd($_, $all_hds)->{readonly} >- && !isRecovery($_) && $_->{size} > $min_linux + $min_swap + $min_freewin } @$fstab) { >+ if (my @ok_for_resize_fat = grep { isnormal_Fat_or_NTFS ($_) && !fs::get::part2hd($_, $all_hds)->{readonly} >+ && $_->{size} > $min_linux + $min_swap + $min_freewin } @$fstab) { > @ok_for_resize_fat = map { > my $part = $_; > my $hd = fs::get::part2hd($part, $all_hds);
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 1d33c8b..bbe3ccf 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -112,8 +112,8 @@ sub partitionWizardSolutions { push @wizlog, N("There is no existing partition to use"); } - if (my @ok_for_resize_fat = grep { isFat_or_NTFS($_) && !fs::get::part2hd($_, $all_hds)->{readonly} - && !isRecovery($_) && $_->{size} > $min_linux + $min_swap + $min_freewin } @$fstab) { + if (my @ok_for_resize_fat = grep { isnormal_Fat_or_NTFS ($_) && !fs::get::part2hd($_, $all_hds)->{readonly} + && $_->{size} > $min_linux + $min_swap + $min_freewin } @$fstab) { @ok_for_resize_fat = map { my $part = $_; my $hd = fs::get::part2hd($part, $all_hds);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1371
:
752
|
753
|
754
|
6215
|
6216
|
6217
|
6255
| 6256