diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-28 13:40:37 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-28 20:48:08 +0000 |
commit | aa2aa9c1b2a5108350bbb05db9b8cfd7950b8538 (patch) | |
tree | 9979222ebf30fe2b1b985c9be5c29942598fec29 /meta/classes | |
parent | 1b08a7eb8b708f4d0fc119cf89deb450fa62fea1 (diff) | |
download | poky-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')
-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" | |||
5 | RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'" | 5 | RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'" |
6 | RPM="rpm ${RPMOPTS}" | 6 | RPM="rpm ${RPMOPTS}" |
7 | 7 | ||
8 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock" | ||
8 | 9 | ||
9 | populate_sdk_post_rpm () { | 10 | populate_sdk_post_rpm () { |
10 | 11 | ||