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 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 13 | RDEPENDS:${PN} += "nbd-client" |
Adriana Kobylak | 723136d | 2018-10-03 15:16:29 -0500 | [diff] [blame] | 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 | b2afe3b | 2021-10-27 23:50:29 +0000 | [diff] [blame] | 18 | SRCREV = "7b7c29369cfeb267efa7f45b271aca6910687461" |
Adriana Kobylak | 329a805 | 2018-10-24 13:31:40 -0500 | [diff] [blame] | 19 | |
| 20 | NBD_PROXY_CONFIG_JSON ??= "${S}/config.sample.json" |
| 21 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 22 | do_install:append() { |
Adriana Kobylak | 329a805 | 2018-10-24 13:31:40 -0500 | [diff] [blame] | 23 | install -d ${D}${sysconfdir}/nbd-proxy/ |
| 24 | install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json |
| 25 | } |