George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:" |
| 2 | SRC_URI_append_gbs = " file://power-config-host0.json \ |
| 3 | file://chassis-system-reset.service \ |
| 4 | " |
George Hung | fdd5d3f | 2020-07-13 13:39:51 +0800 | [diff] [blame] | 5 | |
George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 6 | EXTRA_OECMAKE_append_gbs = " -DCHASSIS_SYSTEM_RESET=ON" |
| 7 | |
| 8 | RDEPENDS_${PN}_append_gbs = " bash" |
| 9 | RDEPENDS_${PN}_append_gbs = " gbs-hotswap-power-cycle" |
| 10 | |
| 11 | do_install_append_gbs() { |
| 12 | install -d ${D}${datadir}/${PN} |
| 13 | install -m 0644 ${WORKDIR}/power-config-host0.json ${D}${datadir}/${PN} |
| 14 | } |