Skip to contentSkip to conversation

Bitbake release

DISCUSSION Richard Purdie 5 participants 8 messages Dec 6, 2008 – Dec 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Could people therefore upgrade to latest bitbake-1.8 from svn and report any problems please.

For reference, we will probably make OE.dev depend on the new bitbake version pretty rapidly allowing some cleanups and optimisation unless there are any strong objections.

Cheers,

Richard

Signature · 2 lines
Richard Purdie
Intel Open Source Technology Centre
#2 lore raw
Quoted 7 lines · Koen Kooi
Quoted 6 lines · Richard Purdie

Hi,

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

Quoted 6 lines
Quoted 2 lines

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Not a bug, but something for people to note:

http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-October/006289.html

As I asked at the time, what's this doing? Do all distros need to do this? What's Angstrom doing on the metadata side to make use of this? Thanks!

Quoted 1 line
Signature · 1 line
Tom Rini
#3 lore raw
Quoted 10 lines · Tom Rini
Quoted 9 lines · Koen Kooi
Quoted 8 lines · Richard Purdie

Hi,

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Quoted 8 lines
Quoted 3 lines

Not a bug, but something for people to note:

http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-October/006289.html

As I asked at the time, what's this doing? Do all distros need to do this? What's Angstrom doing on the metadata side to make use of this? Thanks!

The angstrom buildscripts (http://cgit.openembedded.net/cgit.cgi?url=openembedded/tree/contrib/angstrom) pass MACHINE and ANGSTROM_MODE via the shell enviroment to avoid spurious reparsing. Since bitbake clean the environment the vars don't get into bitbake.

regards,

Koen

#4 lore raw
In reply to Koen Kooi

Hello,

Quoted 7 lines · On Sat, 06 Dec 2008 16:32:52 +0100 Koen Kooi <[email protected]> wrote:
Quoted 6 lines · Richard Purdie

Hi,

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

Quoted 7 lines
Quoted 3 lines

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Not a bug, but something for people to note:

http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-October/006289.html

I actually wonder why these (and few other) vars are not whitelisted by default.

Quoted 4 lines

regards,

Koen

[]

Signature · 2 lines
Best regards,
 Paul                          mailto:[email protected]
#5 lore raw
Quoted 11 lines · Paul Sokolovsky
Quoted 9 lines · On Sat, 06 Dec 2008 16:32:52 +0100 Koen Kooi <[email protected]> wrote:
Quoted 7 lines · Richard Purdie

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Quoted 6 lines
Quoted 3 lines

Not a bug, but something for people to note:

http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-October/006289.html

I actually wonder why these (and few other) vars are not whitelisted by default.

Good question and there are several reasons:

1. MACHINE and DISTRO mean nothing to bitbake, they're only given meaning by the OE metadata. Whitelisting them would mean adding them to bitbake which is the wrong place to have knowledge of OE variables.

2. Changing variables from the environment is a risky business. If you do that and don't invalidate the cache strange things can happen. You can take special precautions such as making the cache path MACHINE specific which "solves" the problem. Not every configuration is going to know to do things like this.

I therefore decided that if people want to whitelist those variables and use them from the environment, they should do so explicitly on a per distro basis. Most distros and developers have environment setup scripts and those scripts are the right place to make this kind of choice. Hardcoding it into bitbake would be a bad thing.

Note that there is a list of variables that bitbake does auto whitelist which is in lib/bb/utils.py. Those variables are common system variables like PATH, not OE specific ones like MACHINE or DISTRO though.

Cheers,

Richard

#6 lore raw
In reply to Koen Kooi
Quoted 7 lines · Koen Kooi
Quoted 6 lines · Richard Purdie

Hi,

As people have probably noticed I just synced up a number of useful changes from Poky into bitbake and brought things pretty much back into sync.

Quoted 6 lines
Quoted 2 lines

The current plan is to let this stabilise for 1 week and the providing no major bugs were introduced, make a new release (finally!).

Not a bug, but something for people to note:

http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-October/006289.html

Hmmm, you can't pass variables containing '_' anymore:

http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=325476d19b821623dbe151d7026c20dfd3754432

regards,

Koen