]> code.ossystems Code Review - openembedded-core.git/commit
systemd: check for systemctl first, and don't force systemd to be installed.
authorRoss Burton <ross.burton@intel.com>
Tue, 5 Mar 2013 14:12:50 +0000 (14:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 22:42:37 +0000 (22:42 +0000)
commitac00e56cb9daacef17a6fdebe7b8ca1667b7e1c4
tree581c2bbb391709617bcee31142b556c89e1e8927
parent2c403979c03898c679c5a1e1092aec784dbeb77c
systemd: check for systemctl first, and don't force systemd to be installed.

With both sysvinit and systemd features enabled these postinsts may actually run
on a target without systemd, so check that systemctl is present before using it.

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