From 5d35a87d145cb5aef7a413bd3f94be2fd761dda8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 10 Dec 2008 09:45:40 +0000 Subject: do not test presence of /usr/lib/rpm/rpmb since rpm 4.6.0 do not have it anymore --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.1