]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: update postinst
authorChangqing Li <changqing.li@windriver.com>
Tue, 30 Jun 2020 09:50:53 +0000 (17:50 +0800)
committerSteve Sakoman <steve@sakoman.com>
Tue, 7 Jul 2020 00:33:20 +0000 (14:33 -1000)
commit6622515c1fa7025543aea37c4b37831577485811
tree080483db1d2d5a680a7a5190a8f55cc8ede449c8
parent922a668e769d3f51b0e8ec4949ae1936e9c59bc5
initscripts: update postinst

in container image, it don't have init system,
install package initscripts will report error:
systemctl: command not found

fix by use same way as systemd.bbclass to decide if systemctl
mask will run

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 790276bde066ecc9876120c3097dcd57a9936f00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/initscripts/initscripts_1.0.bb