Re: [OE-core] [oe-core][PATCH 1/1] systemd-compat-units: pkg_postinst() does not work

2016-08-17 Thread Richard Purdie
On Mon, 2016-08-15 at 16:04 -0700, Joe Slater wrote: > 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 > --- >

[OE-core] [oe-core][PATCH 1/1] systemd-compat-units: pkg_postinst() does not work

2016-08-15 Thread Joe Slater
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 --- meta/recipes-core/systemd/systemd-compat-units.bb | 19