blob: 1061a9271fa79f4cd99b4f5e5b992ec65ec9530f [file] [log] [blame]
Patrick Williams12fc9392021-08-06 09:16:53 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Adriana Kobylaka4fddd72018-11-13 10:53:15 -06002
Patrick Williams12fc9392021-08-06 09:16:53 -05003FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
Adriana Kobylaka4fddd72018-11-13 10:53:15 -06004SRC_URI += "file://state_hook"
5
Patrick Williams12fc9392021-08-06 09:16:53 -05006do_install:append() {
Adriana Kobylaka4fddd72018-11-13 10:53:15 -06007 install -d ${D}${sysconfdir}/nbd-proxy/
8 install -m 0755 ${WORKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
9}