summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:28:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:28:15 +0000
commit6ec419f4e25777745f4f17bfa1a38927c9b1be6b (patch)
tree3cd038205cb33e037e497fb66b5607103dba172b /perl-install/install/install2.pm
parent93405ff7d31d80226cd3cd791a3ae772da5e46e0 (diff)
downloaddrakx-6ec419f4e25777745f4f17bfa1a38927c9b1be6b.tar
drakx-6ec419f4e25777745f4f17bfa1a38927c9b1be6b.tar.gz
drakx-6ec419f4e25777745f4f17bfa1a38927c9b1be6b.tar.bz2
drakx-6ec419f4e25777745f4f17bfa1a38927c9b1be6b.tar.xz
drakx-6ec419f4e25777745f4f17bfa1a38927c9b1be6b.zip
(parse_args,empty_packages) add support for 'justdb' option
(for fast testing; warning: no coverage for %post scripts errors or missing requires, non explicit file conflicts, ...) (installPackages) don't try to run ldconfig in 'justdb' mode (configureNetwork) don't try to set firewall, file tests will fail (afterInstallPackages) don't check for file
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 6c33fbf2b..55ab5a79d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -485,6 +485,7 @@ sub parse_args {
no_bad_drives => sub { $o->{partitioning}{no_bad_drives} = 1 },
nodmraid => sub { $o->{partitioning}{nodmraid} = 1 },
debug_urpmi => sub { $o->{debug_urpmi} = 1 },
+ justdb => sub { $o->{justdb} = 1 },
readonly => sub { $o->{partitioning}{readonly} = $v ne "0" },
display => sub { $o->{display} = $v },
askdisplay => sub { print "Please enter the X11 display to perform the install on ? "; $o->{display} = chomp_(scalar(<STDIN>)) },