sonic-buildimage/sonic-slave-bullseye
Saikrishna Arcot 4acdc2a81e
Arm64 fixes and optimizations (#9274)
* [arm64]: Fix registration of the qemu interpreters

The current code doesn't properly run the container that registers the
qemu interpreters. It checks to see if the container is "known" by
Docker, but that doesn't indicate whether it's been run or not.
Therefore, just always register the qemu interpreters in the kernel, to
make sure the binary that's in the slave images that we build is used.

* [build]: Reduce the number of python calls

Modify the BLDENV and PROJECT_ROOT variables in slave.mk to be
immediate execution instead of lazy execution. Neither of these
variables should be changing for the duration of the build in each slave
container, so just run it once instead of every time they're referenced.

When running `make configure` for broadcom arm64 (where all of the slave
images are already built) on an amd64 host, this reduces the time spent
in each slave container from 4.5-5 minutes to 2 minutes.

* [sonic-slave]: Upgrade the qemu used for Bullseye arm64 to 6.1.0

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2021-12-13 18:20:39 -08:00
..
Dockerfile.j2 Arm64 fixes and optimizations (#9274) 2021-12-13 18:20:39 -08:00
Dockerfile.user.j2 Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00
no-check-valid-until Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00
sonic-jenkins-id_rsa.pub Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00