[projects/cleanbuild] ensure RPMS dir is available
glen
glen at pld-linux.org
Tue Sep 6 17:48:20 CEST 2016
commit a5ad38cc00abd325cb346636990ef02cb14d0ac0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jul 5 08:13:20 2016 +0300
ensure RPMS dir is available
cleanbuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/cleanbuild b/cleanbuild
index 0622ab7..5ab9520 100755
--- a/cleanbuild
+++ b/cleanbuild
@@ -354,8 +354,10 @@ build_mount_home()
{
$NODEBUG || set -x
mount -o bind $HOME/rpm $CHDIR/$CHHOME/rpm
-}
+ # ensure RPMS dir is available
+ chroot $CHDIR su $USER -c 'mkdir -p $(rpm -E %_rpmdir)'
+}
print_installed()
{
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/6b04039fb54563f64d53c01c1944a59d652be7d7
More information about the pld-cvs-commit
mailing list