blob: 3c174c3e8405fb8b700197b69f52324893543f4b [file] [log] [blame]
Matt Spinlereea390f2017-08-14 13:27:09 -05001SUMMARY = "Copy error yaml files to known path for elog parsing"
2PR = "r1"
Patrick Venture386599c2018-10-26 09:37:00 -07003PV = "1.0+git${SRCPV}"
Matt Spinlereea390f2017-08-14 13:27:09 -05004
5inherit native
Matt Spinlereea390f2017-08-14 13:27:09 -05006inherit phosphor-dbus-yaml
7
Lei YU94221712019-10-21 10:49:43 +08008require recipes-phosphor/power/phosphor-power.inc
Matt Spinlereea390f2017-08-14 13:27:09 -05009
10S = "${WORKDIR}/git"
11
12do_install_append() {
Brandon Wyman59f5ac12017-10-06 14:06:07 -050013 SRC=${S}/org/open_power/Witherspoon
Matt Spinler9b2544c2018-03-21 08:23:42 -050014 DEST=${D}${yaml_dir}/org/open_power/Witherspoon
Matt Spinlereea390f2017-08-14 13:27:09 -050015 install -d ${DEST}
16 install ${SRC}/Fault.errors.yaml ${DEST}
Matt Spinler0464f532017-09-19 14:02:40 -050017 install ${SRC}/Fault.metadata.yaml ${DEST}
Matt Spinlereea390f2017-08-14 13:27:09 -050018}