summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-06-09 11:33:38 -0500
committerMarri Devender Rao <devenrao@in.ibm.com>2017-06-09 12:11:54 -0500
commit06e3d50226b9e949f1074a5550fffae8607f04a2 (patch)
tree349dc24c3931517c8ae497b2b8d5027dcb48c869
parenta8ff81549ebddfb317765bccd78add2a4488a377 (diff)
downloadphosphor-inventory-manager-06e3d50226b9e949f1074a5550fffae8607f04a2.tar.gz
phosphor-inventory-manager-06e3d50226b9e949f1074a5550fffae8607f04a2.zip
Parse only interface files generated by phosphor-dbus-interfaces
At present the common shared folder path has files from phosphor-dbus-interfaces, openpower-dbus-interfaces and other applications. As Inventory manager is linked to only phosphor-dbus library getting linker error for other interface files. Change-Id: I66870f97aeaf4c8b5528187b2bfebdc9e8954106 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
-rwxr-xr-xpimgen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimgen.py b/pimgen.py
index 2d47376..4711165 100755
--- a/pimgen.py
+++ b/pimgen.py
@@ -506,6 +506,9 @@ class Everything(Renderer):
filter(lambda f: f.endswith('.interface.yaml'), files))
for y in yaml_files:
+ # parse only phosphor dbus related interface files
+ if not y.startswith('xyz'):
+ continue
with open(os.path.join(targetdir, y)) as fd:
i = y.replace('.interface.yaml', '').replace(os.sep, '.')
OpenPOWER on IntegriCloud