From b14b860a8e92c36767b519de516128b3d7847628 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Jun 2016 17:23:29 +0200 Subject: 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 --- perl-install/NEWS | 3 +++ perl-install/fs/type.pm | 3 ++- perl-install/install/NEWS | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install') 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) -- cgit v1.2.1