summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-09 12:00:14 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-11 09:39:32 +0200
commitc0d134ba4a4c11de67692ea03c42e3024ae6931b (patch)
tree5642a681ff8187b9a48f66959b8db29038f89089 /perl-install/fsedit.pm
parent1296c882f30f667a4cba902b4a4a5138f49b6838 (diff)
downloaddrakx-c0d134ba4a4c11de67692ea03c42e3024ae6931b.tar
drakx-c0d134ba4a4c11de67692ea03c42e3024ae6931b.tar.gz
drakx-c0d134ba4a4c11de67692ea03c42e3024ae6931b.tar.bz2
drakx-c0d134ba4a4c11de67692ea03c42e3024ae6931b.tar.xz
drakx-c0d134ba4a4c11de67692ea03c42e3024ae6931b.zip
init_efi_suggestions -> init_mntpnt_suggestions()
also take a $all_hds arg instead of $fstab needed for next commit
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 2e4904bc0..182dd05d8 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -41,8 +41,9 @@ use fs;
],
);
-sub init_efi_suggestions {
- my ($fstab, $o_force) = @_;
+sub init_mntpnt_suggestions {
+ my ($all_hds, $o_force) = @_;
+ my $fstab = [ fs::get::fstab($all_hds) ];
state $done;
return if $done && !$o_force;
$done++;