]> code.ossystems Code Review - openembedded-core.git/commit
systemd-compat-units: pkg_postinst() does not work
authorJoe Slater <jslater@windriver.com>
Mon, 15 Aug 2016 23:04:53 +0000 (16:04 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Aug 2016 15:52:01 +0000 (16:52 +0100)
commit8183309080aee45746daaff46b0506b09b5bd269
treed2540df738707b0fcac86b49fbaf37b3f332c66a
parentecc8d346223030ee06aa6d83427f757982e948e4
systemd-compat-units: pkg_postinst() does not work

The test for various files is wrong and will always be
true, even if init.d does not exist.

Exit if init.d does not exist, and correctly test for
file existence otherwise.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd-compat-units.bb