]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
CI: Fix fallout from adding elfutils-dev to the build container
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 Dec 2023 21:54:25 +0000 (21:54 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 Dec 2023 23:02:18 +0000 (23:02 +0000)
Commit 948e03303138 ("automation/alpine: add elfutils-dev") had an unintended
consequence of causing Qemu to gain a runtime dependency on libdw.so

The {adl,zen3p}-pci-hvm-x86-64-gcc-debug tests, which are the only two tests
that run the built Qemu, started failing with:

  Error loading shared library libdw.so.1: No such file or directory (needed by /usr/local/lib/xen/bin/qemu-system-i386)
  Error relocating /usr/local/lib/xen/bin/qemu-system-i386: dwfl_begin: symbol not found

Update the test container with libelf to cope.

While editing the runtime dependency list, fix up two other problems.  texinfo
isn't a runtime dependency, and we should be using xz itself, not it's
development libraries.  Both changes shrink the initrd used for tests.

Fixes: 948e03303138 ("automation/alpine: add elfutils-dev")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
automation/tests-artifacts/alpine/3.18-arm64v8.dockerfile
automation/tests-artifacts/alpine/3.18.dockerfile

index 94f69621f40e3302260ef7b17927f3a94254ba17..0e5ae7f2b4d8bbbdaa72d091a3f8ea4c634cfc26 100644 (file)
@@ -21,10 +21,9 @@ RUN \
   apk add python3 && \
   apk add zlib && \
   apk add ncurses && \
-  apk add texinfo && \
   apk add yajl && \
   apk add libaio && \
-  apk add xz-dev && \
+  apk add xz && \
   apk add util-linux && \
   apk add argp-standalone && \
   apk add libfdt && \
index f1b4a8b7a191e281e6565511bb4b115f442918c4..9cde6c9ad4daf2c7fe4895b8d42015bd88bbf1d9 100644 (file)
@@ -22,10 +22,9 @@ RUN \
   apk add python3 && \
   apk add zlib && \
   apk add ncurses && \
-  apk add texinfo && \
   apk add yajl && \
   apk add libaio && \
-  apk add xz-dev && \
+  apk add xz && \
   apk add util-linux && \
   apk add argp-standalone && \
   apk add libfdt && \
@@ -34,6 +33,7 @@ RUN \
   apk add curl && \
   apk add udev && \
   apk add pciutils && \
+  apk add libelf && \
   \
   # Xen
   cd / && \