Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend:gbs := "${THISDIR}/${PN}:" |
| 2 | SRC_URI:append:gbs = " file://power-config-host0.json \ |
George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 3 | file://chassis-system-reset.service \ |
| 4 | " |
George Hung | fdd5d3f | 2020-07-13 13:39:51 +0800 | [diff] [blame] | 5 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 6 | EXTRA_OECMAKE:append:gbs = " -DCHASSIS_SYSTEM_RESET=ON" |
George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 7 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 8 | RDEPENDS:${PN}:append:gbs = " bash" |
| 9 | RDEPENDS:${PN}:append:gbs = " gbs-hotswap-power-cycle" |
George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 10 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 11 | do_install:append:gbs() { |
George Hung | 5c037ed | 2021-04-16 17:25:30 +0800 | [diff] [blame] | 12 | install -d ${D}${datadir}/${PN} |
| 13 | install -m 0644 ${WORKDIR}/power-config-host0.json ${D}${datadir}/${PN} |
| 14 | } |