classes-systemd: Fix FILES_${PN} path bug
Missing space and path sep in the generated path.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/classes/obmc-phosphor-systemd.bbclass b/classes/obmc-phosphor-systemd.bbclass
index b07174f..c94a74b 100644
--- a/classes/obmc-phosphor-systemd.bbclass
+++ b/classes/obmc-phosphor-systemd.bbclass
@@ -27,9 +27,8 @@
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)