]> code.ossystems Code Review - openembedded-core.git/commit
systemd-systemctl-native: capable to call without argument
authorKai Kang <kai.kang@windriver.com>
Wed, 2 Dec 2020 02:21:44 +0000 (10:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Dec 2020 23:16:50 +0000 (23:16 +0000)
commit811ebb4adc5cfcc24ac4460fe89fe68d8d03d837
tree922effc04ab68013ba227053da56aa2f90cee266
parent88d05be28da522fb390ee24f2871a113adf4366e
systemd-systemctl-native: capable to call without argument

In systemd.bbclass, it will replace criterion command 'type systemctl'
with 'systemctl' without any argument to judge whether command systemctl
is available. The change is to fix install/remove package error in
container when command systemctl exists but not callable.

Make native systemctl wrapper prints help mesages if called without any
argument to follow the update.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-systemctl/systemctl