Poky Project Discussions
 help / color / mirror / Atom feed
From: Saul Wold <saul.wold@intel.com>
To: Mark Hatle <mark.hatle@windriver.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] populate_sdk_rpm.bbclass: Add the necessary solvedb lock
Date: Mon, 28 Feb 2011 14:33:55 -0800	[thread overview]
Message-ID: <4D6C22D3.9080500@intel.com> (raw)
In-Reply-To: <c8fff34ebe8c9e22bc863e54f5db81a5988c89bb.1298922394.git.mark.hatle@windriver.com>

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



  reply	other threads:[~2011-02-28 22:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 19:50 [PATCH 0/1] Fix SDK construction Mark Hatle
2011-02-28 19:50 ` [PATCH 1/1] populate_sdk_rpm.bbclass: Add the necessary solvedb lock Mark Hatle
2011-02-28 22:33   ` Saul Wold [this message]
2011-02-28 20:48 ` [PATCH 0/1] Fix SDK construction Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D6C22D3.9080500@intel.com \
    --to=saul.wold@intel.com \
    --cc=mark.hatle@windriver.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox