diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-11-06 03:23:07 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-11-19 04:53:30 +0300 |
commit | ec8c565f230f6b078b574ab888f56d44fff0dc60 (patch) | |
tree | 6710f456cf979e8425f8bf6c8d7ae3cc197bb65b /poky/scripts/sysroot-relativelinks.py | |
parent | 6f8dcde58e2226d5a46f41ab53225134d0e60b4e (diff) | |
download | openbmc-ec8c565f230f6b078b574ab888f56d44fff0dc60.tar.xz |
systemd-systemctl-native: handle Install wildcards
Handle the %i wildcard appearing in a dependency in the Install section
of a template unit, e.g.
$ cat foo@.service
[Install]
WantedBy=bar@%i.target
Using the real systemctl something like:
$ systemctl enable foo@baz.service
will create a symlink in /etc/systemd/system/bar@baz.target.wants.
Detect wildcards in templates and make the appropriate substitution.
(From OE-Core rev: 22ed19292d160461042d4a2294fe2ec0b953873e)
(From poky rev: 17726d083408ad0740ef914d2cfee589d7f6b800)
Change-Id: I06824ed36a42c691bec7610999135752c2d90ce9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'poky/scripts/sysroot-relativelinks.py')
0 files changed, 0 insertions, 0 deletions