From 27e1c1eed3a4f22444e3fa9acfa56a70779d176b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Apr 2020 11:58:15 +0200 Subject: simplify selecting fs packages Rationale: they're already covered by fs::format::package_needed_for_partition_type() call above. NTFS got added in commit 06ee50b237dccb9411d589ddcb35ac2a8ca1771a Btrfs got added in commit c12f436ad4dfc6b721a8e4bc9bcd2987c5b30f63 --- perl-install/install/NEWS | 2 ++ perl-install/install/any.pm | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f6de4ca84..7e532e017 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- select only once needed fs tools + Version 18.26 - 20 March 2020 - bootloader config: copy instead of renaming grub.cfg (mga#25542) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 3c630df0b..a55de478d 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -882,8 +882,6 @@ sub default_packages { add_n_log("some fs is mounted with quota options", 'quota') if any { $_->{options} =~ /usrquota|grpquota/ } @{$o->{fstab}}; @ltmp = uniq(grep { $_ } map { fs::format::package_needed_for_partition_type($_) } @{$o->{fstab}}); add_n_log("needed by some fs", @ltmp) if @ltmp; - add_n_log("some fs is NTFS-3G", 'ntfs-3g') if any { $_->{fs_type} eq 'ntfs-3g' } @{$o->{fstab}}; - add_n_log("some fs is btrfs", 'btrfs-progs') if any { $_->{fs_type} eq 'btrfs' } @{$o->{fstab}}; # handle locales with specified scripting: my @languages = map { s/\@.*//; $_ } lang::langsLANGUAGE($o->{locale}{langs}); -- cgit v1.2.1