diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-08-17 22:58:26 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-06 14:13:38 +0300 |
commit | 58ab4a05b504a84f9d76a8b313bac813d5c050fc (patch) | |
tree | 053bf5f0e306b03f3f52ecea343dfcf301c9c556 /meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass | |
parent | e306073ce2b779de139b943ca2e77ba888f2596e (diff) | |
download | openbmc-58ab4a05b504a84f9d76a8b313bac813d5c050fc.tar.xz |
classes-systemd: refactor substitutions
The exising mechanism for doing substitutions worked but was
cumbersome for expressing more than a handful. Rework the
interfaces such that expressing many substitutions at once
is simpler.
Change-Id: I9ffee7a623219a797797cc8f085e7a06eaf74b3c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass index c5d50d0024..ebe87af740 100644 --- a/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-dbus-service.bbclass @@ -103,8 +103,8 @@ python() { set_append( d, 'SYSTEMD_SERVICE_%s' % pkg, '%s%s.service' % ( prefix, service)) - set_append(d, 'SYSTEMD_SUBSTITUTIONS_%s%s.service' % (prefix, service), - 'BUSNAME:%s' % service) + set_append(d, 'SYSTEMD_SUBSTITUTIONS', + 'BUSNAME:%s:%s%s.service' % (service, prefix, service)) def add_sd_user(d, prefix, service, pkg): |