Hieu Huynh | 2df80e6 | 2023-10-16 07:29:58 +0000 | [diff] [blame] | 1 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI += " \ |
| 4 | file://ampere_power_on_failure_check.sh \ |
| 5 | file://ampere-host-on-host-check-override.conf \ |
| 6 | " |
| 7 | |
| 8 | FILES:${PN} += "${systemd_system_unitdir}/ampere-host-on-host-check@0.service.d" |
| 9 | |
| 10 | do_install:append() { |
| 11 | install -m 0755 ${WORKDIR}/ampere_power_on_failure_check.sh ${D}/${sbindir}/ |
| 12 | |
| 13 | install -d ${D}${systemd_system_unitdir}/ampere-host-on-host-check@0.service.d |
| 14 | install -m 644 ${WORKDIR}/ampere-host-on-host-check-override.conf \ |
| 15 | ${D}${systemd_system_unitdir}/ampere-host-on-host-check@0.service.d |
| 16 | } |