Skip to content

Commit

Permalink
doma: enable network in do_compile for u-boot-android-bazel
Browse files Browse the repository at this point in the history
u-boot-android-bazel directly calls Bazel inside do_compile.
At the same time, the Bazel build spawns client and server instances,
which use sockets for communication. Enable the network for this use-case,
which is disabled by default.

Signed-off-by: Andrii Chepurnyi <[email protected]>
Acked-by: Volodymyr Babchuk <[email protected]>
  • Loading branch information
arminn authored and lorc committed Apr 22, 2024
1 parent a962f75 commit d702632
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/repo/u-boot/Licenses/README;md5=2ca5f2c35c
FILES:${PN} = "\
${libdir}/xen/boot/u-boot-doma \
"
# Enable network in do_compile, since bazel spawns client and server with socket communication
do_compile[network] = "1"

do_compile() {
cd ${WORKDIR}/repo;
Expand Down

0 comments on commit d702632

Please sign in to comment.