blob: 33cc6d4e0cd7298da98a824a7b1084276a2e91a7 [file] [log] [blame]
George Hung5c037ed2021-04-16 17:25:30 +08001FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:"
2SRC_URI_append_gbs = " file://power-config-host0.json \
3 file://chassis-system-reset.service \
4 "
George Hungfdd5d3f2020-07-13 13:39:51 +08005
George Hung5c037ed2021-04-16 17:25:30 +08006EXTRA_OECMAKE_append_gbs = " -DCHASSIS_SYSTEM_RESET=ON"
7
8RDEPENDS_${PN}_append_gbs = " bash"
9RDEPENDS_${PN}_append_gbs = " gbs-hotswap-power-cycle"
10
11do_install_append_gbs() {
12 install -d ${D}${datadir}/${PN}
13 install -m 0644 ${WORKDIR}/power-config-host0.json ${D}${datadir}/${PN}
14}