Initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Network Block Device Proxy"
|
||||
HOMEPAGE = "https://github.com/openbmc/jsnbd"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
DEPENDS += "json-c"
|
||||
DEPENDS += "udev"
|
||||
SRCREV = "9b322cb38172985e67d755660167befe8b650ba6"
|
||||
PV = "1.0+git${SRCPV}"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/openbmc/jsnbd;branch=master;protocol=https \
|
||||
file://state_hook \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/nbd-proxy/
|
||||
install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json
|
||||
install -m 0755 ${WORKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
|
||||
}
|
||||
|
||||
FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
|
||||
|
||||
RDEPENDS:${PN} += "nbd-client"
|
||||
|
||||
NBD_PROXY_CONFIG_JSON ??= "${S}/config.sample.json"
|
||||
Reference in New Issue
Block a user