summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-29 17:23:29 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-30 16:29:49 +0200
commitb14b860a8e92c36767b519de516128b3d7847628 (patch)
tree8e62e9f69067b798eeb1f2cd7f8709535528f72c
parent41611f474e8cf755f5b74fb98ef33ab8d830d081 (diff)
downloaddrakx-b14b860a8e92c36767b519de516128b3d7847628.tar
drakx-b14b860a8e92c36767b519de516128b3d7847628.tar.gz
drakx-b14b860a8e92c36767b519de516128b3d7847628.tar.bz2
drakx-b14b860a8e92c36767b519de516128b3d7847628.tar.xz
drakx-b14b860a8e92c36767b519de516128b3d7847628.zip
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) Under GPT+UEFI, we've 2 important "FS" having vfag as the real FS: ESP & FAT32
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/type.pm3
-rw-r--r--perl-install/install/NEWS2
3 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e7f476d89..ac0629c45 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o fix being able to create vfat on UEFI (mga#15698)
+
Version 17.46 - 24 June 2016
- drakboot:
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index b8262b30e..be44bc246 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}});
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 720fadf43..845bf1f36 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- partionning:
+ o fix being able to create vfat on UEFI (mga#15698)
- users:
o offer again to add user to admin group (mga#17720)