[OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

Jack Mitchell ml at communistcode.co.uk
Sat Jul 28 09:58:16 UTC 2012


On 28/07/2012 10:37, Martin Jansa wrote:
> On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote:
>>> by installing lsb_release. Archlinux 64.
>>>
>>> Should it check to see if it installed first and error otherwise? It
>>> looks like it tries to do it here:
>>>
>>> +    try:
>>> +        output, err = bb.process.run(['lsb_release', '-a'], stderr=PIPE)
>>> +    except bb.process.CmdError as exc:
>>> +        return
>>>
>>>
>>> but it must be missing something.
>>
>> Same here, interesting is that it failed only during 2nd build, 1st
>> with this commit applied finished fine.
>
> Ah no, it was there also first time I've overlooked it as it's not
> fatal.
>

It was fatal for me as it trashed my sstate folder naming and then 
refused to build some packages. The directory in my sstate was created as:

${NATIVELSBSTRING}

Then when Bitbake tried to use shared state it expanded NATIVELSBSTRING 
to nothing and failed.




More information about the Openembedded-core mailing list