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

Marcus Hoffmann m.hoffmann at cartelsol.com
Thu Dec 21 13:26:46 UTC 2017


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