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