summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/dbus
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-08-03 15:56:09 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-08-03 15:59:00 -0400
commit9b3beee10191fbec68345ec48829f7bc3728c576 (patch)
treeb6402968d19c9af6e74d171eab02334e04513bdf /meta-phosphor/common/recipes-phosphor/dbus
parenta6755e638ccb06ac242b5d5954bb78e8e7c54909 (diff)
downloadtalos-openbmc-9b3beee10191fbec68345ec48829f7bc3728c576.tar.gz
talos-openbmc-9b3beee10191fbec68345ec48829f7bc3728c576.zip
mapper: Fix mapper environment generation bug
Fix a logic issue that results in an emitted mapper environment file with interfaces like: rg.openbmc and yz.openbmc_project Change-Id: I5ad30e45da08123b7611390855c04237ff5b60de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dbus')
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
index a891b483b..6797af632 100644
--- a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
+++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
@@ -52,7 +52,7 @@ python do_emit_env() {
d.getVar('namespace_dir', True)
paths = []
for p in os.listdir(path):
- paths.append(os.sep + os.sep.join(p.split('-')))
+ paths.append(os.sep.join(p.split('-')))
path = d.getVar('STAGING_DIR_NATIVE', True) + \
d.getVar('interface_dir', True)
OpenPOWER on IntegriCloud