treewide: switch '/usr/share' to datadir
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend
index cab4272..b1011c8 100644
--- a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend
+++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend
@@ -4,9 +4,9 @@
"
do_install:append() {
- rm -f ${D}/usr/share/entity-manager/configurations/*.json
- install -d ${D}/usr/share/entity-manager/configurations
- install -m 0444 ${WORKDIR}/daytonax-baseboard.json ${D}/usr/share/entity-manager/configurations
- install -m 0444 ${WORKDIR}/daytonax-chassis.json ${D}/usr/share/entity-manager/configurations
+ rm -f ${D}${datadir}/entity-manager/configurations/*.json
+ install -d ${D}${datadir}/entity-manager/configurations
+ install -m 0444 ${WORKDIR}/daytonax-baseboard.json ${D}${datadir}/entity-manager/configurations
+ install -m 0444 ${WORKDIR}/daytonax-chassis.json ${D}${datadir}/entity-manager/configurations
}
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"