summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-30 19:38:36 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-30 19:38:36 +0000
commitd5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8 (patch)
tree6e4d90d7431f5a18302752e355af1a6cb376d68d /perl-install
parent3c6b28a3550de791e54822459bda1a4fc56702a5 (diff)
downloaddrakx-d5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8.tar
drakx-d5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8.tar.gz
drakx-d5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8.tar.bz2
drakx-d5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8.tar.xz
drakx-d5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8.zip
include more partition fields in auto_inst.pl (mga#9784)
include qw(hd level parts VG_name) also sort fields we might miss VGs though...
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b4a888072..a9079d24b 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- include more partition fields in auto_inst.pl (mga#9784)
- skip comments in /etc/crypttab (Colin, mga#9905)
- services:
o list 'shorewall-ipv6' along 'shorewall'
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index b311d4d91..96a844cc1 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -780,7 +780,7 @@ sub g_auto_install {
require install::pkgs;
$o->{default_packages} = install::pkgs::selected_leaves($::o->{packages});
- my @fields = qw(mntpoint fs_type size);
+ my @fields = qw(fs_type hd level mntpoint parts size VG_name);
$o->{partitions} = [ map {
my %l; @l{@fields} = @$_{@fields}; \%l;
} grep {