systemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro...
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>
Mon, 29 Jul 2013 08:09:51 +0000 (13:09 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Jul 2013 05:59:56 +0000 (06:59 +0100)
commitf4131b3890d510144cc5c403a92d5ff5fa66e3af
tree207cb1d9ae9e0fc2e15a98383a0dc279751a72be
parentfbac2de73e46fa5a442cb027cedddd13f128b1fe
systemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro feature

If systemd is supported DISTRO_FEATURE and sysvinit is not and also if
systemd_unitdir contains anything then no need to keep init.d scripts
for sysvinit compatibility.

(From OE-Core rev: 823c90ad344ca2205f3055e2dcae08c6616f29b7)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass