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>
This commit is contained in:
Khem Raj 2022-01-11 12:20:23 -08:00
parent 461c04657c
commit 9786d0fb55

View File

@ -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"