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 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 17 | SRC_URI = "git://github.com/openbmc/jsnbd;branch=master;protocol=https" |
Andrew Geissler | d2cb72b | 2022-08-10 10:00:20 -0500 | [diff] [blame] | 18 | SRCREV = "3ebe3dadd3f550d20080c8bb14dee113e322eb61" |
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 | } |