All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: Chris Larson <clarson@kergoth.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: Conditional assignment broken
Date: Fri, 12 Aug 2011 16:42:00 -0700	[thread overview]
Message-ID: <1313192525.2228.8.camel@scimitar> (raw)
In-Reply-To: <CABcZANki4ULpVxRYM9EPA05ZEWHY6g+Fnr_0ntQDjKPcZ_WSnQ@mail.gmail.com>

On Fri, 2011-08-12 at 16:32 -0700, Chris Larson wrote:
> On Fri, Aug 12, 2011 at 4:29 PM, Joshua Lock <josh@linux.intel.com> wrote:
> > On Sat, 2011-08-13 at 06:50 +0800, James Limbouris wrote:
> >> Hi,
> >>
> >>  Commit 21c21fcc5871e81d8d497b6baed605cdd74c4571 breaks conditional assignment
> >>  in all conf files. Previously, the environment was copied from a
> >> cleaned up os environment.
> >>  After the commit, a pristine environment is available in
> >> data['_data'], and will be copied to
> >>  data[] on conditional assignment, defying BB_ENV_EXTRAWHITE.
> >> Variables not conditionally
> >>  assigned will still be available from data['_data'], also in defiance
> >> of BB_ENV_EXTRAWHITE.
> >>
> >>  To verify, simply:
> >>
> >>  export RANDOMENV=42
> >>  bitbake -e | grep RANDOMENV
> >
> > Thanks for the report James, and apologies for the breakage. I'll try
> > and get a fix submitted and merged asap.
> >
> > I'm now wondering if we want the pristine environment, or the cleaned
> > environment, saved.
> 
> For things like devshell, I think it would be nice to retain a copy of
> the original, unmodified environment.

Agreed, that was one of the intended consumers. I guess I need to drink
more coffee and figure out the *right* fix then...

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




  reply	other threads:[~2011-08-12 23:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12 22:50 Conditional assignment broken James Limbouris
2011-08-12 23:29 ` Joshua Lock
2011-08-12 23:32   ` Chris Larson
2011-08-12 23:42     ` Joshua Lock [this message]
2011-08-13  0:00       ` Chris Larson
2011-08-15  8:43 ` 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=1313192525.2228.8.camel@scimitar \
    --to=josh@linux.intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=clarson@kergoth.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.