]> code.ossystems Code Review - openembedded-core.git/commit
systemd-systemctl: Fix handling of aliased targets
authorSlavic Brutalik <no@good.com>
Thu, 12 Dec 2019 22:30:54 +0000 (00:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Dec 2019 10:36:31 +0000 (10:36 +0000)
commit64d305024e0514b832da05867672f61d1b5b3225
tree68770fd15ee032112ca2865508739850b71aab39
parent309424458c73b14a4a4020cd508c2bf37bf2bcbe
systemd-systemctl: Fix handling of aliased targets

The script scans for services, parses them and makes sure those targets are still
there. The exists file check fails if the target is an alias, such as default.target
so add an additional test.

[YOCTO #13685]

(From OE-Core rev: 10bdbf033e51c97f6408c9114d480372135a2c2e)

Signed-off-by: Werner Grift <sky.captin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-core/systemd/systemd-systemctl/systemctl