Various bits of cleanup, and support for arm64 Linux builds.
Run using the new Linux 6.6.86 on (most) x86, and ARM64:
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1760667411
Still to go:
- Merge argo into the linux build (as it builds a module), strip devel
artefacts
- Rootfs generation, both x86 and ARM64
The argo kernel module and userspace should be a CPIO fragment too, as it's
embedded into both dom0 and domU in the relevant test.
Switching from tar to cpio can happen when the artefact name changes; which
fixes the backwards comptibility concerns. In hindsight, domU shouldn't be
automatically embedded in dom0, as several tests further customise it; the
test job can adjust, then wrap the whole lot in a CPIO and append it to
dom0's.
Xen's main build jobs should either build with --prefix=/usr, or the common
rootfs wants to set up /usr/local/, because right now it's done by all jobs.
Andrew Cooper (7):
Port containerise
Fix container user setup
Clean up Gitlab yaml
Adjust Linux build script to work with other major versions
Factor our x86-isms in the linux build script
Infrastructure for arm64 linux builds
Linux 6.6.86 for x86 and arm64
Marek Marczykowski-Górecki (1):
Consistently use DOCKER_CMD in makefiles
.gitlab-ci.yml | 43 ++++++---
containerize | 95 +++++++++++++++++++
images/Makefile | 5 +-
...dockerfile => 3.18-arm64-build.dockerfile} | 22 ++---
images/alpine/x86_64-build.dockerfile | 7 +-
scripts/build-linux.sh | 54 +++++++++++
scripts/x86_64-kernel-linux.sh | 31 ------
7 files changed, 197 insertions(+), 60 deletions(-)
create mode 100755 containerize
copy images/alpine/{x86_64-build.dockerfile => 3.18-arm64-build.dockerfile}
(55%)
create mode 100755 scripts/build-linux.sh
delete mode 100755 scripts/x86_64-kernel-linux.sh
--
2.39.5