[OE-core] [PATCH 2/2] update-rc.d: Remove init.d dir if sysvinit is not in distro features
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Jul 19 15:13:15 UTC 2013
On Friday 19 July 2013 08:02:32 Chris Larson wrote:
> On Fri, Jul 19, 2013 at 4:53 AM, Shakeel, Muhammad
> <muhammad_shakeel at mentor.com> wrote:
> > From: Muhammad Shakeel <muhammad_shakeel at mentor.com>
> >
> > If sysvinit is not supported DISTRO_FEATURE than there is no need to
> > package related initialization scripts.
> >
> > Signed-off-by: Muhammad Shakeel <muhammad_shakeel at mentor.com>
>
> If we stop shipping init.d for non-sysvinit distros, which makes sense, we
> should also consider automatically enabling/disabling sysv compat support
> in the systems build based on that distro feature also. So, I support this
> commit, but am proposing adding another for consistency :)
Yes, actually at the moment I think we cannot delete the sysvinit initscripts
unless the recipe also inherits systemd, otherwise there will be no fallback
to sysvinit compatibility and the daemon will no longer be started.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list