Openembedded Core Discussions
 help / color / mirror / Atom feed
* systemd PACKAGECONFIG = "lz4" leads to broken init
@ 2017-12-20 21:34 Marcus Hoffmann
  2017-12-21  4:40 ` Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Marcus Hoffmann @ 2017-12-20 21:34 UTC (permalink / raw)
  To: OE-core

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: systemd PACKAGECONFIG = "lz4" leads to broken init
  2017-12-20 21:34 systemd PACKAGECONFIG = "lz4" leads to broken init Marcus Hoffmann
@ 2017-12-21  4:40 ` Robert Yang
  2017-12-21 13:26   ` Marcus Hoffmann
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2017-12-21  4:40 UTC (permalink / raw)
  To: Marcus Hoffmann, OE-core

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
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: systemd PACKAGECONFIG = "lz4" leads to broken init
  2017-12-21 13:26   ` Marcus Hoffmann
@ 2017-12-21 13:25     ` Alexander Kanavin
  2017-12-22  2:00     ` Robert Yang
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2017-12-21 13:25 UTC (permalink / raw)
  To: Marcus Hoffmann, Robert Yang, OE-core

On 12/21/2017 03:26 PM, Marcus Hoffmann wrote:
> 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 :-).

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PACKAGECONFIG

Alex


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: systemd PACKAGECONFIG = "lz4" leads to broken init
  2017-12-21  4:40 ` Robert Yang
@ 2017-12-21 13:26   ` Marcus Hoffmann
  2017-12-21 13:25     ` Alexander Kanavin
  2017-12-22  2:00     ` Robert Yang
  0 siblings, 2 replies; 5+ messages in thread
From: Marcus Hoffmann @ 2017-12-21 13:26 UTC (permalink / raw)
  To: Robert Yang, OE-core

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
>>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: systemd PACKAGECONFIG = "lz4" leads to broken init
  2017-12-21 13:26   ` Marcus Hoffmann
  2017-12-21 13:25     ` Alexander Kanavin
@ 2017-12-22  2:00     ` Robert Yang
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Yang @ 2017-12-22  2:00 UTC (permalink / raw)
  To: Marcus Hoffmann; +Cc: OE-core

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
>>>
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-22  2:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-20 21:34 systemd PACKAGECONFIG = "lz4" leads to broken init Marcus Hoffmann
2017-12-21  4:40 ` Robert Yang
2017-12-21 13:26   ` Marcus Hoffmann
2017-12-21 13:25     ` Alexander Kanavin
2017-12-22  2:00     ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox