blob: 348ad1043acec9b0cee91d1832fbe43033151ca8 [file] [log] [blame]
Brandon Kim1e427092021-08-10 15:46:03 -07001FILESEXTRAPATHS:prepend:gbs := "${THISDIR}/${PN}:"
2SRC_URI:append:gbs = " file://power-config-host0.json \
George Hung5c037ed2021-04-16 17:25:30 +08003 file://chassis-system-reset.service \
4 "
George Hungfdd5d3f2020-07-13 13:39:51 +08005
Brandon Kim1e427092021-08-10 15:46:03 -07006EXTRA_OECMAKE:append:gbs = " -DCHASSIS_SYSTEM_RESET=ON"
George Hung5c037ed2021-04-16 17:25:30 +08007
Brandon Kim1e427092021-08-10 15:46:03 -07008RDEPENDS:${PN}:append:gbs = " bash"
9RDEPENDS:${PN}:append:gbs = " gbs-hotswap-power-cycle"
George Hung5c037ed2021-04-16 17:25:30 +080010
Brandon Kim1e427092021-08-10 15:46:03 -070011do_install:append:gbs() {
George Hung5c037ed2021-04-16 17:25:30 +080012 install -d ${D}${datadir}/${PN}
13 install -m 0644 ${WORKDIR}/power-config-host0.json ${D}${datadir}/${PN}
14}