[OE-core] [meta-poky][PATCH v4 1/3] poky.conf: make systemd as default init manager

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Thu May 30 11:44:25 UTC 2019


On Thu, 2019-05-30 at 05:22 -0400, kai.kang at windriver.com wrote:
> From: Kai Kang <kai.kang at windriver.com>
> 
> Move configurations from local.conf.sample.extended to poky.conf to
> make
> systemd as default init manager for poky. Introduce a new variable
> 'POKY_INIT_MANAGER' whose value should be either 'systemd' or
> 'sysvinit'
> to configure the init manager setting.
> 
> For users who still want to use sysvinit, set in local.conf or any
> other
> configure file with:
> 
>   POKY_INIT_MANAGER = "sysvinit"
> 
> [YOCTO #13031]
> 
> Signed-off-by: Kai Kang <kai.kang at windriver.com>
> ---
>  meta-poky/conf/distro/poky.conf           | 10 ++++++++++
>  meta-poky/conf/local.conf.sample.extended |  9 ---------
>  2 files changed, 10 insertions(+), 9 deletions(-)

Thanks for working on this patchset, I think its nearly there. I'm
wondering if we should set 

POKY_INIT_MANAGER_libc-musl = "sysvinit"

since I am worried about what I read about musl and systemd from a
security perspective.

I'm also wondering what we need to do with the autobuilder init system
tests, I think those may need rewriting to add some sysvinit tests.

Does POKY_INIT_MANAGER = "sysvinit systemd" work for the mode where we
allow old sysvinit scripts for compatibility?

Cheers,

Richard



More information about the Openembedded-core mailing list