]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Jun 2020 22:02:11 +0000 (23:02 +0100)
commit790276bde066ecc9876120c3097dcd57a9936f00
treef8d38c6ef50b7ecb85c372135bd82931eedd9761
parenteec648f23df0a4e05130f8ef5a04902296567e38
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>
meta/recipes-core/initscripts/initscripts_1.0.bb