Mageia Bugzilla – Attachment 8091 Details for
Bug 15698
Cannot create a vfat filesystem, when installing in UEFI mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix being able to create vfat on UEFI (mga#15698)
0001-fix-being-able-to-create-vfat-on-UEFI-mga-15698.patch (text/plain), 1.10 KB, created by
Thierry Vignaud
on 2016-06-29 17:37:06 CEST
(
hide
)
Description:
fix being able to create vfat on UEFI (mga#15698)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-06-29 17:37:06 CEST
Size:
1.10 KB
patch
obsolete
>From 46bb4d14d8843e7fa6ec7f5cddc38072cc88c035 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Wed, 29 Jun 2016 17:23:29 +0200 >Subject: [PATCH] fix being able to create vfat on UEFI (mga#15698) > >and explain the purpose of the uniq_() call >see commit 56b573476e2ea63a509ab2f8ec0683397ae7c85e > >rationale: use_pt_type() now returns 0 for common disks (eg: GPT ones) >--- > perl-install/fs/type.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm >index b8262b3..be44bc2 100644 >--- a/perl-install/fs/type.pm >+++ b/perl-install/fs/type.pm >@@ -163,7 +163,8 @@ sub type_names { > my @l = @{$type_names{important}}; > push @l, grep { $_ ne 'Encrypted' } @{$type_names{non_fs_type}}; > push @l, sort @{$type_names{other}} if $expert; >- if ($o_hd && !$o_hd->use_pt_type) { >+ # not show partition types which have no associated filesystem for LVM LV: >+ if ($o_hd && isLVM($o_hd)) { > @l = grep { $type_name2fs_type{$_} } @l; > @l = uniq_ { $type_name2fs_type{$_} } @l; > (@l, @{$type_names{non_fs_type}}); >-- >2.9.0 >
From 46bb4d14d8843e7fa6ec7f5cddc38072cc88c035 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Wed, 29 Jun 2016 17:23:29 +0200 Subject: [PATCH] fix being able to create vfat on UEFI (mga#15698) and explain the purpose of the uniq_() call see commit 56b573476e2ea63a509ab2f8ec0683397ae7c85e rationale: use_pt_type() now returns 0 for common disks (eg: GPT ones) --- perl-install/fs/type.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index b8262b3..be44bc2 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -163,7 +163,8 @@ sub type_names { my @l = @{$type_names{important}}; push @l, grep { $_ ne 'Encrypted' } @{$type_names{non_fs_type}}; push @l, sort @{$type_names{other}} if $expert; - if ($o_hd && !$o_hd->use_pt_type) { + # not show partition types which have no associated filesystem for LVM LV: + if ($o_hd && isLVM($o_hd)) { @l = grep { $type_name2fs_type{$_} } @l; @l = uniq_ { $type_name2fs_type{$_} } @l; (@l, @{$type_names{non_fs_type}}); -- 2.9.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15698
:
8089
| 8091