]> code.ossystems Code Review - openembedded-core.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:42:37 +0000 (22:42 +0000)
commita3856ab19f1d4ae312f559521785ad4384700729
tree6dc34e6fa0f12735608d443e912b5fc6a377d938
parentf5d018a769fa297efa629cbbf6e42a49173faa8b
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/update-rc.d.bbclass