summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-17 04:56:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-17 04:56:43 +0000
commit5aea61abd308f496de1c4f02183fd06b834639e2 (patch)
tree2236d0d48f7a64d8a2a5bf2e101c006d06f2dc7c
parent2f6170ad91303fd8df2b41d2b42d5f739a9d97cc (diff)
downloaddrakx-backup-do-not-use-5aea61abd308f496de1c4f02183fd06b834639e2.tar
drakx-backup-do-not-use-5aea61abd308f496de1c4f02183fd06b834639e2.tar.gz
drakx-backup-do-not-use-5aea61abd308f496de1c4f02183fd06b834639e2.tar.bz2
drakx-backup-do-not-use-5aea61abd308f496de1c4f02183fd06b834639e2.tar.xz
drakx-backup-do-not-use-5aea61abd308f496de1c4f02183fd06b834639e2.zip
during install, use "nofsync" for rpm database (=> speedup x2)
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 567525a09..310d3d76f 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1061,6 +1061,7 @@ sub install {
log::l("pkgs::install the following: ", join(" ", map { $_->name } values %packages));
URPM::read_config_files();
+ URPM::add_macro(join(' ', '__dbi_cdb', URPM::expand('%__dbi_cdb'), 'nofsync'));
my $LOG = openInstallLog();
#- do not modify/translate the message used with installCallback since