[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [TEST_ARTIFACTS PATCH v1] scripts: add lzo to the x86_64 alpine rootfs
In the qemu-alpine-x86_64-gcc test, we want to test libxenguest built with all libraries. If we add lzo-dev to the alpine:3.18 container, libxenguest is linked against it. However, as the initrd in the test-artifacts does not contain lzo, the qemu-alpine-x86_64-gcc gitlab CI job fails with: + bash /etc/init.d/xencommons start Starting /usr/local/sbin/xenstored... /etc/xen/scripts/launch-xenstore: line 90: echo: write error: Invalid argument Setting domain 0 name, domid and JSON config... Error loading shared library liblzo2.so.2: No such file or directory (needed by /usr/local/lib/libxenguest.so.4.20) Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: symbol not found Error relocating /usr/local/lib/libxenguest.so.4.20: lzo1x_decompress_safe: symbol not found Starting xenconsoled... Starting QEMU as disk backend for dom0 + xl list Error loading shared library liblzo2.so.2: No such file or directory (needed by /usr/local/lib/libxenguest.so.4.20) Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: symbol not found Error relocating /usr/local/lib/libxenguest.so.4.20: lzo1x_decompress_safe: symbol not found + xl create -c /root/test.cfg Error loading shared library liblzo2.so.2: No such file or directory (needed by /usr/local/lib/libxenguest.so.4.20) Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: symbol not found Error relocating /usr/local/lib/libxenguest.so.4.20: lzo1x_decompress_safe: symbol not found * Execution of "/etc/local.d/xen.start" failed. Add lzo to the initrd that becomes the rootfs to install liblzo2.so.2 . Signed-off-by: Javi Merino <javi.merino@xxxxxxxxx> --- Tested in https://gitlab.com/xen-project/people/javimerino/test-artifacts/-/jobs/8295092924 scripts/x86_64-rootfs-alpine.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/x86_64-rootfs-alpine.sh b/scripts/x86_64-rootfs-alpine.sh index 28d8e30d8eac..f8b04c52f82e 100755 --- a/scripts/x86_64-rootfs-alpine.sh +++ b/scripts/x86_64-rootfs-alpine.sh @@ -12,6 +12,7 @@ apk add dbus apk add bash apk add python3 apk add zlib +apk add lzo apk add ncurses apk add yajl apk add libaio -- 2.47.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |