On Thu, May 23, 2019 at 1:41 PM Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote:
> > -----Original Message----- > > From: openembedded-core-boun...@lists.openembedded.org <openembedded- > > core-boun...@lists.openembedded.org> On Behalf Of > > kai.k...@windriver.com > > Sent: den 23 maj 2019 10:26 > > To: richard.pur...@linuxfoundation.org > > Cc: openembedded-core@lists.openembedded.org > > Subject: [OE-core] [PATCH v3 1/2] local.conf.sample: make systemd as > > default init manager > > > > From: Kai Kang <kai.k...@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.k...@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@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core