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-21 04:00:58 -1000
commit7f8a4aa6cf240a5cdda012837f3f3f7a0f9bbf1c (patch)
treea759ce1d677f4037edd5c7915f4d6b7c64f8bfef /scripts/lib/devtool/runqemu.py
parent7412714f7d8af571cc066ed22f200e4009032480 (diff)
downloadpoky-7f8a4aa6cf240a5cdda012837f3f3f7a0f9bbf1c.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: 11d3f1c8252592c377ea6b92bba77ef6d9c75464) 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