diff options
| author | Marri Devender Rao <devenrao@in.ibm.com> | 2017-06-09 11:33:38 -0500 |
|---|---|---|
| committer | Marri Devender Rao <devenrao@in.ibm.com> | 2017-06-09 12:11:54 -0500 |
| commit | 06e3d50226b9e949f1074a5550fffae8607f04a2 (patch) | |
| tree | 349dc24c3931517c8ae497b2b8d5027dcb48c869 | |
| parent | a8ff81549ebddfb317765bccd78add2a4488a377 (diff) | |
| download | phosphor-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-x | pimgen.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, '.') |

