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

Khem Raj raj.khem at gmail.com
Thu May 23 20:59:29 UTC 2019


On Thu, May 23, 2019 at 1:41 PM Peter Kjellerstedt <
peter.kjellerstedt at axis.com> wrote:

> > -----Original Message-----
> > From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> > core-bounces at lists.openembedded.org> On Behalf Of
> > kai.kang at windriver.com
> > Sent: den 23 maj 2019 10:26
> > To: richard.purdie at linuxfoundation.org
> > Cc: 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 <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 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

>
>
> >
> > [YOCTO #13031]
> >
> > Signed-off-by: Kai Kang <kai.kang at windriver.com>
> > ---
> >  meta-poky/conf/local.conf.sample          | 9 +++++++++
> >  meta-poky/conf/local.conf.sample.extended | 9 ---------
> >  2 files changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/meta-poky/conf/local.conf.sample b/meta-
> > poky/conf/local.conf.sample
> > index 9068e567dc..3a07105e44 100644
> > --- a/meta-poky/conf/local.conf.sample
> > +++ b/meta-poky/conf/local.conf.sample
> > @@ -249,3 +249,12 @@ PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
> >  # track the version of this file when it was generated. This can
> > safely be ignored if
> >  # this doesn't mean anything to you.
> >  CONF_VERSION = "1"
> > +
> > +#
> > +# Use systemd for system initialization
> > +#
> > +DISTRO_FEATURES_append = " systemd"
> > +DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
> > +VIRTUAL-RUNTIME_login_manager = "shadow-base"
> > +VIRTUAL-RUNTIME_init_manager = "systemd"
> > +VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
> > diff --git a/meta-poky/conf/local.conf.sample.extended b/meta-
> > poky/conf/local.conf.sample.extended
> > index 26603debe6..e20fc5dbf3 100644
> > --- a/meta-poky/conf/local.conf.sample.extended
> > +++ b/meta-poky/conf/local.conf.sample.extended
> > @@ -377,12 +377,3 @@ DISTRO_FEATURES_remove = "x11"
> >  #VIRTUAL-RUNTIME_initscripts = "initscripts"
> >  #VIRTUAL-RUNTIME_keymaps = "keymaps"
> >  #DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
> > -
> > -#
> > -# Use systemd for system initialization
> > -#
> > -#DISTRO_FEATURES_append = " systemd"
> > -#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
> > -#VIRTUAL-RUNTIME_login_manager = "shadow-base"
> > -#VIRTUAL-RUNTIME_init_manager = "systemd"
> > -#VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
> > --
> > 2.18.0
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190523/d1e9463d/attachment.html>


More information about the Openembedded-core mailing list