Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 1 | SUMMARY = "Network Block Device Proxy" |
| 2 | HOMEPAGE = "https://github.com/openbmc/jsnbd" |
| 3 | PR = "r1" |
| 4 | PV = "1.0+git${SRCPV}" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 7 | |
| 8 | inherit autotools pkgconfig |
| 9 | |
| 10 | DEPENDS += "json-c" |
| 11 | DEPENDS += "udev" |
| 12 | |
Adriana Kobylak | 723136d | 2018-10-03 15:16:29 -0500 | [diff] [blame] | 13 | RDEPENDS_${PN} += "nbd-client" |
| 14 | |
Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | SRC_URI = "git://github.com/openbmc/jsnbd" |
Andrew Geissler | 0a10f5a | 2018-10-30 01:40:16 +0000 | [diff] [blame] | 18 | SRCREV = "d5b9857609401e3cf9c53b111134a6aab8e4573c" |
Adriana Kobylak | 329a805 | 2018-10-24 13:31:40 -0500 | [diff] [blame] | 19 | |
| 20 | NBD_PROXY_CONFIG_JSON ??= "${S}/config.sample.json" |
| 21 | |
| 22 | do_install_append() { |
| 23 | install -d ${D}${sysconfdir}/nbd-proxy/ |
| 24 | install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json |
| 25 | } |