Skip to contentSkip to conversation

Heads up: _remove in recipe namespace - check your layers

DISCUSSION Paul Eggleton 3 participants 3 messages Sep 2, 2013

lore
Share & tools
lore
#0 lore raw

Hi all,

With the recent addition of a _remove operator into BitBake in master [1] any use of _remove_ within a name or _remove at the end of a name within recipe namespace (i.e. function and variable names) needs to be changed to avoid unexpected behaviour. This change is now in master and will be in the upcoming release. Please check the layers you maintain and change any instances of these to avoid the use of _remove. You can use the following command to find these (of course ignoring anything that's not in a recipe, bbclass, inc file etc.):

git grep _remove[^a-zA-Z]

In particular I've checked a number of layers that I have fetched locally, and references exist in meta-arago-distro and meta-angstrom, so these will need to be fixed as soon as possible.

Cheers,
Paul

[1]
http://cgit.openembedded.org/bitbake/commit/?id=9c91948e10df278dad4832487fa56888cd58d187

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#1 lore raw
Quoted 11 lines · Paul Eggleton

Hi all,

With the recent addition of a _remove operator into BitBake in master [1] any use of _remove_ within a name or _remove at the end of a name within recipe namespace (i.e. function and variable names) needs to be changed to avoid unexpected behaviour. This change is now in master and will be in the upcoming release. Please check the layers you maintain and change any instances of these to avoid the use of _remove. You can use the following command to find these (of course ignoring anything that's not in a recipe, bbclass, inc file etc.):

Quoted 5 lines

git grep _remove[^a-zA-Z]

In particular I've checked a number of layers that I have fetched locally, and references exist in meta-arago-distro and meta-angstrom, so these will need to be fixed as soon as possible.

Paul,

Thanks for the heads up! While meta-arago is currently based on Dylan, I've made the necessary change in my layer so it will be ready for the master. Thanks.

Signature · 1 line
Denys
#2 lore raw
In reply to Paul Eggleton
Quoted 11 lines · Paul Eggleton

Hi all,

With the recent addition of a _remove operator into BitBake in master [1] any use of _remove_ within a name or _remove at the end of a name within recipe namespace (i.e. function and variable names) needs to be changed to avoid unexpected behaviour. This change is now in master and will be in the upcoming release. Please check the layers you maintain and change any instances of these to avoid the use of _remove. You can use the following command to find these (of course ignoring anything that's not in a recipe, bbclass, inc file etc.):

Quoted 5 lines

git grep _remove[^a-zA-Z]

In particular I've checked a number of layers that I have fetched locally, and references exist in meta-arago-distro and meta-angstrom, so these will need to be fixed as soon as possible.

Paul,

Thanks for the heads up! While meta-arago is currently based on Dylan, I've made the necessary change in my layer so it will be ready for the master. Thanks.

--
Denys