summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/inventory
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-03-12 00:24:03 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-22 16:36:00 +0300
commit0bf37939da753138ffafb4d3aafc2c7b5096f44c (patch)
tree9fc72ea1a0a7d7fa3ef0a28d593f3eea43b3ec60 /meta-phosphor/recipes-phosphor/inventory
parent9258084f272123749d35a94520b8fbb0da92cac2 (diff)
downloadopenbmc-0bf37939da753138ffafb4d3aafc2c7b5096f44c.tar.xz
Add associations support to phosphor-inventory-mgr
Add support so another layer can select the 'associations' PACKAGECONFIG and install their own associations.json file which the phosphor-inventory code uses to create associations between inventory paths and other paths. (From meta-phosphor rev: 6bc9cd4952999bbb8bb5083c1c6e89b6ad2c8b8b) Change-Id: Id0cb5f5a7f8759455c1ebaa068ab6c810c118f5f Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/inventory')
-rw-r--r--meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
index c6e3b2955..1b54dd500 100644
--- a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
@@ -39,3 +39,6 @@ EXTRA_OECONF = " \
IFACE=${OBMC_INVENTORY_MGR_IFACE} \
IFACES_PATH=${STAGING_DIR_NATIVE}${yaml_dir} \
"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[associations] = "--enable-associations, --disable-associations,nlohmann-json,"