Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Adriana Kobylak | a4fddd7 | 2018-11-13 10:53:15 -0600 | [diff] [blame] | 2 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 3 | FILES:${PN} += "${sysconfdir}/nbd-proxy/state" |
Adriana Kobylak | a4fddd7 | 2018-11-13 10:53:15 -0600 | [diff] [blame] | 4 | SRC_URI += "file://state_hook" |
| 5 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 6 | do_install:append() { |
Adriana Kobylak | a4fddd7 | 2018-11-13 10:53:15 -0600 | [diff] [blame] | 7 | install -d ${D}${sysconfdir}/nbd-proxy/ |
| 8 | install -m 0755 ${WORKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state |
| 9 | } |