summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-13 19:37:20 -0700
committerKhem Raj <raj.khem@gmail.com>2025-05-14 08:37:28 -0700
commit09d3af94b0448b0d50d4494d723997006175d55c (patch)
treef2101d00bedbd2f18b1318eb9dfab34285ad7c0e
parent4b2789b90be5ac1b1f4d96eaa1f9fe499938421c (diff)
downloadmeta-openembedded-09d3af94b0448b0d50d4494d723997006175d55c.tar.gz
netdata: Enable network during do_compile only when go support is enabled
Makes the hammer a bit smaller, since we do not enable go by default in packageconfig's it helps with yocto check layer with default config. Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb
index 7693335dac..f18c979685 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.5.bb
@@ -50,7 +50,7 @@ CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'go', \
50INSANE_SKIP:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'go', 'already-stripped buildpaths', '', d)}" 50INSANE_SKIP:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'go', 'already-stripped buildpaths', '', d)}"
51 51
52# network is required by go to get dependent packages 52# network is required by go to get dependent packages
53do_compile[network] = "1" 53do_compile[network] = "${@bb.utils.contains('PACKAGECONFIG', 'go', '1', '0', d)}"
54 54
55#systemd 55#systemd
56SYSTEMD_PACKAGES = "${PN}" 56SYSTEMD_PACKAGES = "${PN}"