diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:28:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:28:15 +0000 |
commit | 6ec419f4e25777745f4f17bfa1a38927c9b1be6b (patch) | |
tree | 3cd038205cb33e037e497fb66b5607103dba172b /perl-install/install/pkgs.pm | |
parent | 93405ff7d31d80226cd3cd791a3ae772da5e46e0 (diff) | |
download | drakx-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/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index e8f1e264e..a9a17d4f1 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -385,6 +385,7 @@ sub empty_packages { $packages->{keep_unrequested_dependencies} = defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1; $urpm::args::options{force_transactions} = 1; + $urpm::args::options{justdb} = $::o->{justdb}; $::force = 1; $packages->{options}{ignoresize} = 1; # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: |