diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-28 13:40:37 -0600 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-03-01 11:46:49 +0000 |
commit | f17c84c9b1cba52f860752058821b31930674e1a (patch) | |
tree | 092a2a866565cd733733868fa3214aa74f1ffe2a /meta/classes | |
parent | e3eb58b2870a4aab5a350615244007f43cf33f04 (diff) | |
download | openembedded-core-f17c84c9b1cba52f860752058821b31930674e1a.tar.gz openembedded-core-f17c84c9b1cba52f860752058821b31930674e1a.tar.bz2 openembedded-core-f17c84c9b1cba52f860752058821b31930674e1a.zip |
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')
-rw-r--r-- | meta/classes/populate_sdk_rpm.bbclass | 1 |
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" RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'" RPM="rpm ${RPMOPTS}" +do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock" populate_sdk_post_rpm () { |