[OE-core] [PATCH v3 1/2] local.conf.sample: make systemd as default init manager

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri May 24 19:23:08 UTC 2019


> -----Original Message-----
> From: Khem Raj <raj.khem at gmail.com> 
> Sent: den 23 maj 2019 22:59
> To: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
> Cc: kai.kang at windriver.com; openembedded-core at lists.openembedded.org; richard.purdie at linuxfoundation.org
> Subject: Re: [OE-core] [PATCH v3 1/2] local.conf.sample: make systemd as default init manager
> 
> On Thu, May 23, 2019 at 1:41 PM Peter Kjellerstedt <mailto:peter.kjellerstedt at axis.com> wrote:
> > -----Original Message-----
> > From: mailto:openembedded-core-bounces at lists.openembedded.org <openembedded-
> > mailto:core-bounces at lists.openembedded.org> On Behalf Of
> > mailto:kai.kang at windriver.com
> > Sent: den 23 maj 2019 10:26
> > To: mailto:richard.purdie at linuxfoundation.org
> > Cc: mailto:openembedded-core at lists.openembedded.org
> > Subject: [OE-core] [PATCH v3 1/2] local.conf.sample: make systemd as
> > default init manager
> > 
> > From: Kai Kang <mailto:kai.kang at windriver.com>
> > 
> > Move configurations from local.conf.sample.extended to local.conf.sample
> > to make systemd as default init manager for poky.
> 
> If we're going to change the default init manager to be systemd, wouldn't 
> it be more appropriate to change the real default values in bitbake.conf 
> and http://packagegroup-core-boot.bb? And then include an example in 
> local.conf.sample.extended to show how to configure sysvinit as init 
> manager?
> 
> That would change it for Oe-core and other distributions as well which 
> is not the intention 

Ok, then I'd say the change belongs in poky.conf. Doing this kind of changes 
in local.conf.sample seems very wrong to me. Why? Because if I have an 
existing build tree it will not be affected, but if I setup a new tree with 
oe-init-build-env it will all of a sudden behave differently from the old 
tree. In my mind, local.conf.sample should only be used for things the user 
are likely to want to configure to adapt the build for his/her environment, 
not to define the distribution (that's what poky.conf is for).

//Peter



More information about the Openembedded-core mailing list