[OE-core] why is "run-postinsts" considered a "development" recipe?
Robert P. J. Day
rpjday at crashcourse.ca
Tue Jul 26 14:27:34 UTC 2016
On Tue, 26 Jul 2016, Burton, Ross wrote:
>
> On 26 July 2016 at 15:19, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> i'm good with that, and one more (potentially idiotic) question
> about run-postinsts. i note in the OE recipe file that it inherits
> "update-rc.d", but i'm not sure why.
>
> AIUI (and i could be totally off-base here), i thought systemd
> needed update-rc.d only for backward compatibility for sysvinit-style
> services, is that right?
>
> so while run-postinsts is free to inherit update-rc.d, does that
> have any value if one is not using any sysvinit-driven services? or am
> i misunderstanding the fundamental functionality of update-rc.d?
>
> It inherits update-rcd and systemd so that it runs on both systemd
> and sysvinit systems.
ok, so my initial assumption was correct ... its value lies solely
in interoperability with sysvinit components; if i have a pure systemd
build, it has no effect. gotcha.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list