summaryrefslogtreecommitdiffstats
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
commitf8da22669430f1779ff06dd86ea2a0b53d1a2c44 (patch)
tree6e4d90d7431f5a18302752e355af1a6cb376d68d
parent0d1bf64bd836fd2889314f780ea6f04a6a59e5c4 (diff)
downloaddrakx-backup-do-not-use-f8da22669430f1779ff06dd86ea2a0b53d1a2c44.tar
drakx-backup-do-not-use-f8da22669430f1779ff06dd86ea2a0b53d1a2c44.tar.gz
drakx-backup-do-not-use-f8da22669430f1779ff06dd86ea2a0b53d1a2c44.tar.bz2
drakx-backup-do-not-use-f8da22669430f1779ff06dd86ea2a0b53d1a2c44.tar.xz
drakx-backup-do-not-use-f8da22669430f1779ff06dd86ea2a0b53d1a2c44.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...
-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 {