summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-07-06 20:11:57 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-07-11 00:46:29 -0400
commitd9b7e8dd475bb6a47084761941f7dd98302e48e6 (patch)
tree61c68b6a502ff51a127d0447c5ca2674934228f7
parent2ad67f634136b83c9f0f31e58112ef628d64eaef (diff)
downloadtalos-openbmc-d9b7e8dd475bb6a47084761941f7dd98302e48e6.tar.gz
talos-openbmc-d9b7e8dd475bb6a47084761941f7dd98302e48e6.zip
classes-systemd: Fix FILES_${PN} path bug
Missing space and path sep in the generated path. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-phosphor/classes/obmc-phosphor-systemd.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
index b07174f9f..c94a74b67 100644
--- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
@@ -27,9 +27,8 @@ python() {
path = bb.utils.which(searchpaths, file)
if os.path.isfile(path):
d.appendVar('SRC_URI', ' file://' + file)
- d.appendVar(
- 'FILES_' + bpn, ' ' +
- d.getVar('systemd_system_unitdir', True) + file)
+ d.appendVar("FILES_%s" %(bpn), " %s/%s" \
+ % (d.getVar('systemd_system_unitdir', True), file))
d.appendVar('OBMC_SYSTEMD_SERVICES', ' ' + file)
if file not in (d.getVar('SYSTEMD_SERVICE_' + bpn, True) or "").split():
d.appendVar('SYSTEMD_SERVICE_' + bpn, ' ' + file)
OpenPOWER on IntegriCloud