aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 13:29:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 13:29:22 +0000
commit10b7e70d354278a344c284416d1d4cf83c506ad3 (patch)
treed2026ed181abe3b04ee9f8ed60f75c8ebf1c8d0a
parente3f1f9f4f3c453a0075fff47a1ce52c3096f3a9a (diff)
downloadiurt-10b7e70d354278a344c284416d1d4cf83c506ad3.tar
iurt-10b7e70d354278a344c284416d1d4cf83c506ad3.tar.gz
iurt-10b7e70d354278a344c284416d1d4cf83c506ad3.tar.bz2
iurt-10b7e70d354278a344c284416d1d4cf83c506ad3.tar.xz
iurt-10b7e70d354278a344c284416d1d4cf83c506ad3.zip
temporary hack to workaround bug in urpmi 6.0: create tmp_chroot/var/lib/urpmi
-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 82c8412..e0552c8 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -509,6 +509,7 @@ sub build_chroot {
sudo($run, $config, "--mkdir", "-p", "$tmp_chroot/dev/pts",
"$tmp_chroot/etc/sysconfig", "$tmp_chroot/proc",
+ "$tmp_chroot/var/lib/urpmi", # [PIX] July 2008: temporary hack to workaround bug in urpmi 6.0
"$tmp_chroot/var/lib/rpm");
# create empty files