From ee5918d9d7c36ce083446520dc3be4bde1e999d9 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 28 Feb 2011 13:40:37 -0600 Subject: populate_sdk_rpm.bbclass: Add the necessary solvedb lock [BUG #776] When using the RPM solve databases, we have to lock our operations to avoid removing it while it's in use. The same lock is shared by the rootfs_rpm.bbclass Signed-off-by: Mark Hatle --- meta/classes/populate_sdk_rpm.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass index 0afe042fd6..da308c12cd 100644 --- a/meta/classes/populate_sdk_rpm.bbclass +++ b/meta/classes/populate_sdk_rpm.bbclass @@ -5,6 +5,7 @@ rpmlibdir = "/var/lib/rpm" RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'" RPM="rpm ${RPMOPTS}" +do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock" populate_sdk_post_rpm () { -- cgit v1.2.3-54-g00ecf