]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
update-rcd.bbclass: handle both sysvinit and systemd features being present
authorRoss Burton <ross.burton@intel.com>
Thu, 28 Feb 2013 16:28:28 +0000 (16:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 22:43:03 +0000 (22:43 +0000)
commit55ba8ea8636bd4401aaad3d3e3441872cc974596
tree998389f614edb945b478ae21a741faf3f923342d
parente92dfa11577c0be9dcd88e0d9892cb9808a74505
update-rcd.bbclass: handle both sysvinit and systemd features being present

Run the helper if the sysvinit feature is present, or if the systemd feature is
present but the systemd class hasn't been inherited.  We want to run in the
latter case as systemd has sysvinit compatibility, but we don't want to always
run so that pure systemd images don't have redundant sysvinit files.

(From OE-Core rev: a3856ab19f1d4ae312f559521785ad4384700729)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass