instance-id: Setup default database on install
Make sure that libpldm's implementation and configuration is
self-contained. The database must be present otherwise applications
calling through the instance ID API will fail at runtime.
Change-Id: I7be957a6cec30c462327afdc19313a03935bd8a1
Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/meson.build b/meson.build
index e1097d6..c684c60 100644
--- a/meson.build
+++ b/meson.build
@@ -63,3 +63,7 @@
if get_option('tests').enabled()
subdir('tests')
endif
+
+install_subdir('instance-db',
+ install_mode: 'r--r--r--',
+ install_dir: get_option('datadir') / meson.project_name())