[poky] [PATCH 1/1] populate_sdk_rpm.bbclass: Add the necessary solvedb lock

Saul Wold saul.wold at intel.com
Mon Feb 28 14:33:55 PST 2011


On 02/28/2011 11:50 AM, Mark Hatle wrote:
> [BUG #776]
>
Gentle reminder, format for bugs is: [BUGID #NNNN]

Sau!

> 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 at windriver.com>
> ---
>   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 0afe042..da308c1 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 () {
>




More information about the poky mailing list