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" |
Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 5 | DEPENDS += "json-c" |
| 6 | DEPENDS += "udev" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 7 | SRCREV = "3ebe3dadd3f550d20080c8bb14dee113e322eb61" |
| 8 | PV = "1.0+git${SRCPV}" |
| 9 | PR = "r1" |
Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 10 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 11 | SRC_URI = "git://github.com/openbmc/jsnbd;branch=master;protocol=https" |
Adriana Kobylak | 723136d | 2018-10-03 15:16:29 -0500 | [diff] [blame] | 12 | |
Adriana Kobylak | 2fae8ec | 2018-09-24 14:27:15 -0500 | [diff] [blame] | 13 | S = "${WORKDIR}/git" |
| 14 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 15 | inherit autotools pkgconfig |
Adriana Kobylak | 329a805 | 2018-10-24 13:31:40 -0500 | [diff] [blame] | 16 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 17 | do_install:append() { |
Adriana Kobylak | 329a805 | 2018-10-24 13:31:40 -0500 | [diff] [blame] | 18 | install -d ${D}${sysconfdir}/nbd-proxy/ |
| 19 | install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json |
| 20 | } |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 21 | |
| 22 | RDEPENDS:${PN} += "nbd-client" |
| 23 | |
| 24 | NBD_PROXY_CONFIG_JSON ??= "${S}/config.sample.json" |