blob: 5ea6cb522639a8901609d321e806aa9d91946486 [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
Matt Spinler1696ec22017-08-14 13:27:09 -05005inherit phosphor-dbus-yaml
Joseph Reynolds79809ea2021-02-26 15:37:31 -06006inherit native
Matt Spinler1696ec22017-08-14 13:27:09 -05007
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}