]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd-systemctl: fix errors in instance name expansion
authorYuta Hayama <hayama@lineo.co.jp>
Thu, 27 Jul 2023 08:19:43 +0000 (17:19 +0900)
committerSteve Sakoman <steve@sakoman.com>
Sat, 12 Aug 2023 15:38:11 +0000 (05:38 -1000)
commit682e094e6af67e67873f7f08dd8d52b40fcdbded
treeb73fdd66d85cfb7dca493e1846dfb8aff86e3d1d
parent2d56adfd53b0ea3b938c60bf57fd40f3d48b5c68
systemd-systemctl: fix errors in instance name expansion

If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.

To indicate group number 1 regardless of the instance name, use "\g<1>".

(From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd-systemctl/systemctl