Prime system blueprint from wait-vpd-parsers
This commit updates wait-vpd-parsers to prime system blueprint.
As part of PST VPD collection flow, priming inventory objects needs to
be triggered as a part of systemd target, instead of being triggered by
vpd-manager.
This commit only implements only stub APIs under PrimeInventory class.
Change-Id: I144b13192e9ce39461c331c51ed7d4d9e952809c
Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
diff --git a/wait-vpd-parser/meson.build b/wait-vpd-parser/meson.build
index c9d6a6e..52f5c75 100644
--- a/wait-vpd-parser/meson.build
+++ b/wait-vpd-parser/meson.build
@@ -6,14 +6,26 @@
endif
sdbusplus = dependency('sdbusplus', fallback: ['sdbusplus', 'sdbusplus_dep'])
-dependency_list = [CLI_dep, sdbusplus]
-sources = ['src/wait_vpd_parser.cpp', '../vpd-manager/src/logger.cpp']
+libgpiodcxx = dependency(
+ 'libgpiodcxx',
+ default_options: ['bindings=cxx'],
+ version: '<1.7.0',
+)
+
+dependency_list = [CLI_dep, sdbusplus, libgpiodcxx]
+
+sources = [
+ 'src/wait_vpd_parser.cpp',
+ '../vpd-manager/src/logger.cpp',
+ 'src/prime_inventory.cpp',
+ '../vpd-manager/src/event_logger.cpp',
+]
wait_vpd_parser_exe = executable(
'wait-vpd-parser',
sources,
- include_directories: ['../', '../vpd-manager/include'],
+ include_directories: ['include/', '../', '../vpd-manager/include'],
dependencies: dependency_list,
install: true,
)