[OE-core] systemd PACKAGECONFIG = "lz4" leads to broken init

Robert Yang liezhi.yang at windriver.com
Fri Dec 22 02:00:12 UTC 2017


Hi Marcus,

This fix isn't correct, please see Ross' reply to:

[OE-core] [PATCH 0/1] systemd: fix PACKAGECONFIG for lz4

// Robert

On 12/21/2017 09:26 PM, Marcus Hoffmann wrote:
> Hey Robert,
> 
> thanks for the patch. I'd like to understand how this fixes the problem
> or probably more genrally how the PACKAGECONFIG thing works internally.
> 
> Can someone give me a pointer on where to look? It seems a bit like
> magic just adding "lz4" twice at the end :-).
> 
> Kind regards,
> Marcus
> 
> On 21.12.2017 05:40, Robert Yang wrote:
>> Hi Marcus,
>>
>> I think that the following patch can fix the problem:
>>
>> The following changes since commit
>> 978472c58629d1448399207873bbead96b27102e:
>>
>>    image.bbclass: Add additional bb.debug to help track 12304 (2017-12-18
>> 18:02:12 +0000)
>>
>> are available in the git repository at:
>>
>>    git://git.openembedded.org/openembedded-core-contrib rbt/systemd_lz4
>>   
>> http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/systemd_lz4
>>
>>
>> Robert Yang (1):
>>    systemd: fix PACKAGECONFIG for lz4
>>
>> // Robert
>>
>> On 12/21/2017 05:34 AM, Marcus Hoffmann wrote:
>>> Dear all,
>>>
>>> when building poky with
>>>
>>> PACKAGECONFIG_append_pn-systemd = "lz4"
>>>
>>> in local.conf and
>>> DISTRO_FEATURES_append = " systemd"
>>> VIRTUAL-RUNTIME_init_manager = "systemd"
>>> in bblayers.conf, init (=systemd) can't start because of a missing lz4
>>> library:
>>>
>>> /sbin/init: error while loading shared libraries: liblz4.so.1: cannot
>>> open shared object file: No such file or directory
>>>
>>> Best wishes,
>>> Marcus Hoffmann
>>>
> 



More information about the Openembedded-core mailing list