]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 17 Oct 2017 02:38:27 +0000 (04:38 +0200)
commitdfb458dce2fe671a3efe0c61ae582f54f8fff461
tree1281b5de43be3b9129ebb87cb8545b804086e6b8
parent40c5c69fa030acef7ede269c2e97ad7379b2ff5d
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>
(cherry picked from commit 8183309080aee45746daaff46b0506b09b5bd269)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/recipes-core/systemd/systemd-compat-units.bb