summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2022-01-20 14:29:04 +0800
committerRobert Yang <liezhi.yang@windriver.com>2022-01-20 07:01:22 +0000
commitbb3ae8dbd929eac83394be5fe3284dd79c895e44 (patch)
tree3a586eb918048ab4bd32b1cd0a5a2b57a6b9aa7d /meta/conf/bitbake.conf
parentecb61b36938754cf925bf58aad3edf7346deced0 (diff)
downloadopenembedded-core-contrib-rbt/network.tar.gz
bitbake.conf: Add BB_TASK_NETWORK to enable task network globallyrbt/network
The NIS or icecc can't work when task network is dissable, add BB_TASK_NETWORK to enable network globally for such exceptions. Note, enable nscd on the build machine might be a solution, but that isn't reliable since it depends on whether the network function has been cached or not. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index fba99e8f0c..bf5bcd5551 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -946,3 +946,6 @@ MULTILIB_VARIANTS ??= ""
# what it would be anyway if the signature generator (e.g. OEEquivHash) doesn't
# support unihashes.
BB_UNIHASH ?= "${BB_TASKHASH}"
+
+# Enable task network for remote user such as NIS.
+BB_TASK_NETWORK ??= "${@['1', '0'][oe.utils.is_local_uid()]}"