diff options
Diffstat (limited to 'meta-phosphor/recipes-connectivity')
-rw-r--r-- | meta-phosphor/recipes-connectivity/jsnbd/jsnbd_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-connectivity/jsnbd/jsnbd_git.bb b/meta-phosphor/recipes-connectivity/jsnbd/jsnbd_git.bb index b5e124081..f9195476d 100644 --- a/meta-phosphor/recipes-connectivity/jsnbd/jsnbd_git.bb +++ b/meta-phosphor/recipes-connectivity/jsnbd/jsnbd_git.bb @@ -16,3 +16,10 @@ S = "${WORKDIR}/git" SRC_URI = "git://github.com/openbmc/jsnbd" SRCREV = "d5b9857609401e3cf9c53b111134a6aab8e4573c" + +NBD_PROXY_CONFIG_JSON ??= "${S}/config.sample.json" + +do_install_append() { + install -d ${D}${sysconfdir}/nbd-proxy/ + install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json +} |