aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-12 15:51:14 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-12 15:51:14 +0000
commit3506014f9e264dcaaddd58acad159f8c3b43acbc (patch)
tree64d76030d57972eb52eeec2c14770baa8c17785e /lib/Iurt/Chroot.pm
parent1176d8a6f742636b3af60ad06756f0f670d851cf (diff)
downloadiurt-3506014f9e264dcaaddd58acad159f8c3b43acbc.tar
iurt-3506014f9e264dcaaddd58acad159f8c3b43acbc.tar.gz
iurt-3506014f9e264dcaaddd58acad159f8c3b43acbc.tar.bz2
iurt-3506014f9e264dcaaddd58acad159f8c3b43acbc.tar.xz
iurt-3506014f9e264dcaaddd58acad159f8c3b43acbc.zip
(dump_rpmmacros) set %_excludedocs so that we speed up iurt on creating chroots
by an order of magnitude by not installing _huge_ & useless docs
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r--lib/Iurt/Chroot.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 40d93e9..cde647c 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -160,6 +160,7 @@ sub dump_rpmmacros {
\%_tmppath \%(echo \$HOME)/rpm/tmp/
\%distribution $config->{distribution}
\%vendor $config->{vendor}
+\%_excludedocs yes
\%packager $packager);
# need to be root for permission
}