[oe] [meta-oe][PATCH] iproute2: Move append to meta-networking layer

Mark Hatle mark.hatle at windriver.com
Tue Aug 29 01:19:04 UTC 2017


On 8/28/17 8:07 PM, Mark Hatle wrote:
> On 8/28/17 1:13 PM, Fabio Berton wrote:
>> meta-openembedded commit eb8994f44a080d9c7fd2c87b6b6935ad0a55eb27 added
>> iproute2 append to enable tipc PACKAGECONFIG that install libmnl
>> package. libmnl recipe is in meta-networking layer and this layer
>> needs to be added to bblayers.conf file to build libmnl. Move
>> iproute2 append to meta-networking to allow build iproute2 without add
>> meta-networking layer to bblayers.conf.
> 
> At first I thought this was the right answer.. but the more I look at this, the
> more issues I find.
> 
> The iproute2 bbappend modifies the PACKAGECONFIG.  The modification of the
> PACKAGECONFIG (other then adding new options) should not be done in a bbappend,
> otherwise it 'changes' the settings for that recipe.
> 
> I'm thinking the right fix is actually to remove iproute2 bbappend.  And any
> distributions or users who need tipc should enable it themselves within their
> distribution configuration files (and also include the meta-networking layer) as
> necessary.

Sorry to reply to my reply.. but

Simply reverting this ends up with:

ERROR: Nothing RPROVIDES 'iproute2-tipc' (but
/home/mhatle/git/lpd/master/layers/meta-openembedded/meta-networking/recipes-extended/tipcutils/tipcutils_git.bb
RDEPENDS on or otherwise requires it)

So somehow tipcutils requirement needs to be based on the configuration of
iproute2.  I'm not sure how to do this.

--Mark

> --Mark
> 
>> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
>> ---
>>  .../recipes-connectivity/iproute2/iproute2_%.bbappend                     | 0
>>  1 file changed, 0 insertions(+), 0 deletions(-)
>>  rename {meta-oe => meta-networking}/recipes-connectivity/iproute2/iproute2_%.bbappend (100%)
>>
>> diff --git a/meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend b/meta-networking/recipes-connectivity/iproute2/iproute2_%.bbappend
>> similarity index 100%
>> rename from meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
>> rename to meta-networking/recipes-connectivity/iproute2/iproute2_%.bbappend
>>
> 




More information about the Openembedded-devel mailing list