diff options
| -rwxr-xr-x | meta/recipes-core/systemd/systemd-systemctl/systemctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl b/meta/recipes-core/systemd/systemd-systemctl/systemctl index c8b5c9efe3..0fd7e24085 100755 --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl | |||
| @@ -191,7 +191,7 @@ class SystemdUnit(): | |||
| 191 | try: | 191 | try: |
| 192 | for dependent in config.get('Install', prop): | 192 | for dependent in config.get('Install', prop): |
| 193 | # expand any %i to instance (ignoring escape sequence %%) | 193 | # expand any %i to instance (ignoring escape sequence %%) |
| 194 | dependent = re.sub("([^%](%%)*)%i", "\\1{}".format(instance), dependent) | 194 | dependent = re.sub("([^%](%%)*)%i", "\\g<1>{}".format(instance), dependent) |
| 195 | wants = systemdir / "{}.{}".format(dependent, dirstem) / service | 195 | wants = systemdir / "{}.{}".format(dependent, dirstem) / service |
| 196 | add_link(wants, target) | 196 | add_link(wants, target) |
| 197 | 197 | ||
