aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-01-11 12:20:23 -0800
committerKhem Raj <raj.khem@gmail.com>2022-01-12 09:35:18 -0800
commit9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38 (patch)
treebdcccf5b5ec1ee16a8c764f780d3f5af1a55684b /meta-oe
parent461c04657c3151629b503fe134e9d672520aacbb (diff)
downloadmeta-openembedded-contrib-9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38.tar.gz
meta-openembedded-contrib-9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38.tar.bz2
meta-openembedded-contrib-9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38.zip
influxdb: Enable network during do_compile
This should actually be fixed in the package's build system to not do the network access during compile task but go modules are invoked during do_compile which needs to access the network. Lets workaround it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
index b2899ec381..50995c09b6 100644
--- a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
+++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
@@ -27,6 +27,11 @@ SRCREV = "688e697c51fd5353725da078555adbeff0363d01"
inherit go-mod pkgconfig systemd update-rc.d useradd
+# Workaround for network access issue during compile step
+# this needs to be fixed in the recipes buildsystem to move
+# this such that it can be accomplished during do_fetch task
+do_compile[network] = "1"
+
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb"