blob: c8ec04127fc6c90aa86d2c53b1019718916bf8f9 [file] [log] [blame]
Matt Spinler56c476e2018-06-21 13:13:52 -05001SUMMARY = "Copy error yaml files to known path for elog parsing"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
5
6inherit native
7inherit phosphor-dbus-yaml
8
9require phosphor-led-manager.inc
10
11S = "${WORKDIR}/git"
12
13do_install_append() {
14 SRC=${S}/xyz/openbmc_project/Led/
15 DEST=${D}${yaml_dir}/xyz/openbmc_project/Led/
16 install -d ${DEST}/Fru
17 install ${SRC}/*.errors.yaml ${DEST}
18 install ${SRC}/*.metadata.yaml ${DEST}
19 install ${SRC}/Fru/*.errors.yaml ${DEST}/Fru
20 install ${SRC}/Fru/*.metadata.yaml ${DEST}/Fru
21}