summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_rpm.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-02-28 13:40:37 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-28 20:48:08 +0000
commitaa2aa9c1b2a5108350bbb05db9b8cfd7950b8538 (patch)
tree9979222ebf30fe2b1b985c9be5c29942598fec29 /meta/classes/populate_sdk_rpm.bbclass
parent1b08a7eb8b708f4d0fc119cf89deb450fa62fea1 (diff)
downloadpoky-aa2aa9c1b2a5108350bbb05db9b8cfd7950b8538.tar.gz
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 <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/populate_sdk_rpm.bbclass')
-rw-r--r--meta/classes/populate_sdk_rpm.bbclass1
1 files changed, 1 insertions, 0 deletions
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"
5RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'" 5RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'"
6RPM="rpm ${RPMOPTS}" 6RPM="rpm ${RPMOPTS}"
7 7
8do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"
8 9
9populate_sdk_post_rpm () { 10populate_sdk_post_rpm () {
10 11