From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Phil Blundell <philb@gnu.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Only one copy of bitbake should be run against a build directory
Date: Thu, 04 Oct 2012 13:53:09 +0100 [thread overview]
Message-ID: <1349355189.18301.89.camel@ted> (raw)
In-Reply-To: <1349352468.32611.164.camel@phil-desktop>
On Thu, 2012-10-04 at 13:07 +0100, Phil Blundell wrote:
> Since updating my copy of bitbake to one which does this extra locking,
> I've come to realise that the constraint of having only one copy of
> bitbake running is a bit of a nuisance when making use of devshells. I
> used to quite often have one or two long-running devshells for packages
> that I was actively working on, and then in parallel with that would use
> bitbake to recompile other things. With the new locking mechanism, as
> soon as I have a single devshell open I am now prohibited from using
> bitbake for anything else in that same build directory.
>
> Would it be reasonable to exempt devshells from that locking or is there
> some compelling reason why they need to be serialised?
The reason it was added was that there were too many people shooting
themselves in the foot with multiple bitbake processes running without
them realising it. I has "saved" me a few times too.
I'm not sure how you'd allow devshell but not anything else,
particularly as there may be tasks that run before the devshell task
gets executed.
I'd be fine with a --ignore-the-lockfile-I-know-what-I-am-doing type
option, then on your own head be it ;-).
Cheers,
Richard
prev parent reply other threads:[~2012-10-04 13:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 12:07 Only one copy of bitbake should be run against a build directory Phil Blundell
2012-10-04 12:27 ` Martin Jansa
2012-10-04 16:52 ` Khem Raj
2012-10-04 22:15 ` Paul Eggleton
2012-10-04 12:36 ` Morten Minde Neergaard
2012-10-04 12:53 ` Richard Purdie [this message]
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=1349355189.18301.89.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=philb@gnu.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