commit | adb7ebee2c7bab572100da8b96c79403c99e36ec | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Jan 28 15:28:17 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Feb 13 19:24:47 2017 +0000 |
tree | 8d7b143478d9d472e777ad5600e5b6305cd69fb0 | |
parent | fc4936a9089278732220218bf2b35df4d1aa0c5e [diff] |
Add inventory manager class Change-Id: Ib034680499f16efb842bc5074e269bb590f25fbd
diff --git a/common/recipes-phosphor/inventory/phosphor-inventory-manager-config-example-native.bb b/common/recipes-phosphor/inventory/phosphor-inventory-manager-config-example-native.bb index 880d5ac..e59bc88 100644 --- a/common/recipes-phosphor/inventory/phosphor-inventory-manager-config-example-native.bb +++ b/common/recipes-phosphor/inventory/phosphor-inventory-manager-config-example-native.bb
@@ -2,6 +2,7 @@ PR = "r1" inherit native +inherit phosphor-inventory-manager require phosphor-inventory-manager.inc @@ -9,9 +10,9 @@ do_install() { SRC=${S}/example - DEST=${D}${datadir}/phosphor-inventory-manager + DEST=${D}${base_datadir} for f in `find $SRC -type f -printf "%P\n"`; do - install -D ${SRC}/$f $DEST/$f + install -D ${SRC}/$f ${DEST}/$f done }
diff --git a/common/recipes-phosphor/inventory/phosphor-inventory-manager.bb b/common/recipes-phosphor/inventory/phosphor-inventory-manager.bb index fda1d53..3d1dacf 100644 --- a/common/recipes-phosphor/inventory/phosphor-inventory-manager.bb +++ b/common/recipes-phosphor/inventory/phosphor-inventory-manager.bb
@@ -7,6 +7,7 @@ inherit autotools \ pkgconfig \ pythonnative \ + phosphor-inventory-manager \ obmc-phosphor-dbus-service require phosphor-inventory-manager.inc @@ -27,7 +28,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = " \ - YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN} \ + YAML_PATH=${STAGING_DIR_NATIVE}${base_datadir} \ BUSNAME=${OBMC_INVENTORY_MGR_IFACE} \ INVENTORY_ROOT=${OBMC_INVENTORY_PATH} \ IFACE=${OBMC_INVENTORY_MGR_IFACE} \