summaryrefslogtreecommitdiffstats
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2022-02-16 23:26:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-02 18:41:31 +0000
commit25ea276a13a6ac2342c2b0945c8fafe878d56095 (patch)
tree709a629ea4a238ba3c289388920dafc28addfe4e /meta/classes/icecc.bbclass
parent6aa1420d747ebd77bfa7069d42df1ff9040424ba (diff)
downloadopenembedded-core-25ea276a13a6ac2342c2b0945c8fafe878d56095.tar.gz
icecc.bbclass: enable networking in all tasks
The icecc.bbclass needs network access to work properly. Currently I build with icecc inside a container with network isolation and my icecc daemon runs outside of the build container in my host. The only thing I need to do for using the icecc inside my build container is mounting the unix socket /var/run/icecc/iceccd.socket inside the container. I think we need something like this mount functionality to have access to some sockets connections inside the tasks that runs on the new namespace created with unshare system call. This patch is not a the real solution for the problem and is more like an hack so we can use the icecc.bbclass again. Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/icecc.bbclass')
-rw-r--r--meta/classes/icecc.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index a550b6af24..9b912a3083 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -423,18 +423,22 @@ set_icecc_env() {
bbnote "Using icecc tarball: $ICECC_VERSION"
}
+do_configure[network] = "1"
do_configure:prepend() {
set_icecc_env
}
+do_compile[network] = "1"
do_compile:prepend() {
set_icecc_env
}
+do_compile_kernelmodules[network] = "1"
do_compile_kernelmodules:prepend() {
set_icecc_env
}
+do_install[network] = "1"
do_install:prepend() {
set_icecc_env
}