meta-quanta: olympus-nuvoton: inventory: add assocations
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: Idd9df47b58e5686e424ff385d47c4e765032c03d
diff --git a/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend b/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend
new file mode 100644
index 0000000..8ff6178
--- /dev/null
+++ b/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:"
+PACKAGECONFIG_append_olympus-nuvoton = " associations"
+SRC_URI_append_olympus-nuvoton = " file://associations.json"
+
+DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-inventory-cleanup"
+
+do_install_append_olympus-nuvoton() {
+ install -d ${D}${base_datadir}
+ install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json
+}