]> 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>
Mon, 16 Dec 2019 23:22:03 +0000 (23:22 +0000)
commit10bdbf033e51c97f6408c9114d480372135a2c2e
tree8bb41e8d9244c8f27902b3efab22e5a5fbe2def4
parenta522ccff838ba1577255c90e64d98dd75470fb0a
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]

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