On Thu, Mar 26, 2020 at 3:17 PM Andre McCurdy <[email protected]> wrote:
>
> On Thu, Mar 26, 2020 at 10:33 AM Adrian Bunk <[email protected]> wrote:
> >
> > On Thu, Mar 26, 2020 at 03:54:55PM +0000, Alex Kiernan wrote:
> > > On Thu, Mar 26, 2020 at 2:56 PM Adrian Bunk <[email protected]> wrote:
...
> > For packages that can provide both, if the init script gets installed
> > it is ignored by systemd when there is also a systemd unit.
>
> True but we don't usually reply on that. If sysvinit is not present in
> DISTRO_FEATURES and the package includes a systemd service file then
> any init scripts will be forcefully removed (see
> rm_sysvinit_initddir() in systemd.bbclass).

Agreed. The preferred one is defined by the init system and virtual runtime.

The patch seems ok for me. Besides, you can override it on your custom
distro if you have a weird requirement.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#136771): 
https://lists.openembedded.org/g/openembedded-core/message/136771
Mute This Topic: https://lists.openembedded.org/mt/72560006/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to