diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-01-11 12:20:23 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-12 09:35:18 -0800 |
commit | 9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38 (patch) | |
tree | bdcccf5b5ec1ee16a8c764f780d3f5af1a55684b /meta-oe/recipes-dbs | |
parent | 461c04657c3151629b503fe134e9d672520aacbb (diff) | |
download | meta-openembedded-9786d0fb55cc10f6dcd99e6e6b56f4ca7efbdf38.tar.gz |
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/recipes-dbs')
-rw-r--r-- | meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 5 |
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 b2899ec38..50995c09b 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" | |||
27 | 27 | ||
28 | inherit go-mod pkgconfig systemd update-rc.d useradd | 28 | inherit go-mod pkgconfig systemd update-rc.d useradd |
29 | 29 | ||
30 | # Workaround for network access issue during compile step | ||
31 | # this needs to be fixed in the recipes buildsystem to move | ||
32 | # this such that it can be accomplished during do_fetch task | ||
33 | do_compile[network] = "1" | ||
34 | |||
30 | USERADD_PACKAGES = "${PN}" | 35 | USERADD_PACKAGES = "${PN}" |
31 | USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb" | 36 | USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb" |
32 | 37 | ||