diff options
author | Ian Ray <ian.ray@ge.com> | 2023-06-11 21:17:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-15 09:53:38 +0100 |
commit | f457f358dfc05dea8e3a7e5add56e22a2cea2a73 (patch) | |
tree | 79a6615288d0063deb2230273d1215e6876ef85c /scripts/lib/devtool/standard.py | |
parent | dc03dac76911975b486769185b482a07b60613c8 (diff) | |
download | poky-f457f358dfc05dea8e3a7e5add56e22a2cea2a73.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: 9356276137267a29ae2289d796a2940918375308)
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions