Matt Spinler | 56c476e | 2018-06-21 13:13:52 -0500 | [diff] [blame] | 1 | SUMMARY = "Copy error yaml files to known path for elog parsing" |
| 2 | PR = "r1" |
Patrick Venture | 6dc4c9a | 2018-10-24 12:55:20 -0700 | [diff] [blame] | 3 | PV = "1.0+git${SRCPV}" |
Matt Spinler | 56c476e | 2018-06-21 13:13:52 -0500 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
Brad Bishop | a1cee09 | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Matt Spinler | 56c476e | 2018-06-21 13:13:52 -0500 | [diff] [blame] | 6 | |
| 7 | inherit native |
| 8 | inherit phosphor-dbus-yaml |
| 9 | |
| 10 | require phosphor-led-manager.inc |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | do_install_append() { |
| 15 | SRC=${S}/xyz/openbmc_project/Led/ |
| 16 | DEST=${D}${yaml_dir}/xyz/openbmc_project/Led/ |
| 17 | install -d ${DEST}/Fru |
| 18 | install ${SRC}/*.errors.yaml ${DEST} |
| 19 | install ${SRC}/*.metadata.yaml ${DEST} |
| 20 | install ${SRC}/Fru/*.errors.yaml ${DEST}/Fru |
| 21 | install ${SRC}/Fru/*.metadata.yaml ${DEST}/Fru |
| 22 | } |