summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/runqemu.py
diff options
context:
space:
mode:
authorIan Ray <ian.ray@ge.com>2023-06-11 21:17:47 +0300
committerSteve Sakoman <steve@sakoman.com>2023-06-27 05:24:36 -1000
commitc8f5ff0ffe6b11e3b50656438136ee08c9616ab2 (patch)
tree79a3b7ec91356acff4ae3446977031cfcc87e672 /scripts/lib/devtool/runqemu.py
parent822d364542d986f79b13475c62d9b08da433f273 (diff)
downloadpoky-c8f5ff0ffe6b11e3b50656438136ee08c9616ab2.tar.gz
systemd-systemctl: support instance expansion in WantedBy
Refactor _process_deps to expand systemd instance specifier "%i" to the template instance. This change expands on prior commit e510222b57 ("systemd-systemctl: fix instance template WantedBy symlink construction") by substituting every "%i" pattern-match with the instance name. The regexp handles the following cases: * svc-wants@%i.service * sys-subsystem-net-devices-%i.device (From OE-Core rev: 2aa82324d43467e7c8bfbbb59570ee3306264b75) Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 9356276137267a29ae2289d796a2940918375308) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions