VPD Tool : Force Collect On Hardware
This commit adds an additional option called --forceReset
in the vpd-tool.
This option is used to restart the Inventory Manager service
and retrigger the udev events which launches the VPD services.
How to use the option?
./vpd-tool --forceReset/-f/-F
This option does not take any arguments.
Tested on simics.
Signed-off-by: PriyangaRamasamy <priyanga24@in.ibm.com>
Change-Id: Icd1ad30389432f731f21cc84999f7a54fcbbec65
diff --git a/meson.build b/meson.build
index b61f44a..2f0ec24 100644
--- a/meson.build
+++ b/meson.build
@@ -30,7 +30,8 @@
'IFACE' : '"' + get_option('IFACE') + '"',
'OBJECT_MAPPER_SERVICE' : '"'+get_option('OBJECT_MAPPER_SERVICE')+'"',
'OBJECT_MAPPER_OBJECT' : '"'+get_option('OBJECT_MAPPER_OBJECT')+'"',
- 'POWER_SUPPLY_TYPE_INTERFACE' : '"'+get_option('POWER_SUPPLY_TYPE_INTERFACE')+'"'
+ 'POWER_SUPPLY_TYPE_INTERFACE' : '"'+get_option('POWER_SUPPLY_TYPE_INTERFACE')+'"',
+ 'INVENTORY_MANAGER_CACHE' : '"'+get_option('INVENTORY_MANAGER_CACHE')+'"'
}
)
ibm_read_vpd_SOURCES = ['ibm_vpd_app.cpp',