From 9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 11 Jan 2022 12:20:23 -0800 Subject: [PATCH] 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 --- meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 5 +++++ 1 file changed, 5 insertions(+) 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"