Mageia Bugzilla – Attachment 8089 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), 985 bytes, created by
Thierry Vignaud
on 2016-06-29 17:28:46 CEST
(
hide
)
Description:
fix being able to create vfat on UEFI (mga#15698)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-06-29 17:28:46 CEST
Size:
985 bytes
patch
obsolete
>From 95401c58fc32d7fde4b2060c94a56209a9c18bfb 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 >--- > 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..95c806c 100644 >--- a/perl-install/fs/type.pm >+++ b/perl-install/fs/type.pm >@@ -165,7 +165,8 @@ sub type_names { > push @l, sort @{$type_names{other}} if $expert; > if ($o_hd && !$o_hd->use_pt_type) { > @l = grep { $type_name2fs_type{$_} } @l; >- @l = uniq_ { $type_name2fs_type{$_} } @l; >+ # not show partition types which have no associated filesystem for LVM LV: >+ @l = uniq_ { $type_name2fs_type{$_} } @l if isLVM($o_hd); > (@l, @{$type_names{non_fs_type}}); > } else { > @l; >-- >2.9.0 >
From 95401c58fc32d7fde4b2060c94a56209a9c18bfb 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 --- 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..95c806c 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -165,7 +165,8 @@ sub type_names { push @l, sort @{$type_names{other}} if $expert; if ($o_hd && !$o_hd->use_pt_type) { @l = grep { $type_name2fs_type{$_} } @l; - @l = uniq_ { $type_name2fs_type{$_} } @l; + # not show partition types which have no associated filesystem for LVM LV: + @l = uniq_ { $type_name2fs_type{$_} } @l if isLVM($o_hd); (@l, @{$type_names{non_fs_type}}); } else { @l; -- 2.9.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15698
:
8089
|
8091