aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-12-10 09:45:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-12-10 09:45:40 +0000
commit5d35a87d145cb5aef7a413bd3f94be2fd761dda8 (patch)
tree84720cf60c49d6363114968365ee44e85e18a5b3
parent371569dcc052d9806f44807909b0f2a3e1973107 (diff)
downloadiurt-5d35a87d145cb5aef7a413bd3f94be2fd761dda8.tar
iurt-5d35a87d145cb5aef7a413bd3f94be2fd761dda8.tar.gz
iurt-5d35a87d145cb5aef7a413bd3f94be2fd761dda8.tar.bz2
iurt-5d35a87d145cb5aef7a413bd3f94be2fd761dda8.tar.xz
iurt-5d35a87d145cb5aef7a413bd3f94be2fd761dda8.zip
do not test presence of /usr/lib/rpm/rpmb since rpm 4.6.0 do not have it anymore
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 82c8412..ab8df70 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -549,7 +549,7 @@ sub build_chroot {
);
# Yes, /usr/lib/rpm/rpmb even for x86_64
- if (! -f "$tmp_chroot/bin/rpm" || ! -f "$tmp_chroot/usr/lib/rpm/rpmb") {
+ if (! -f "$tmp_chroot/bin/rpm") {
plog('ERROR', "Base packages missing in genenrated chroot.");
return 0;
}