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>
This commit is contained in:
Mark Hatle 2011-02-28 13:40:37 -06:00 committed by Richard Purdie
parent 1b08a7eb8b
commit aa2aa9c1b2
1 changed files with 1 additions and 0 deletions

View File

@ -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 () {