]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(Alpine): add support for EFI stub and ukify
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 14 Jan 2026 03:50:22 +0000 (22:50 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 15 Jan 2026 02:12:52 +0000 (21:12 -0500)
alpine:edge has support for EFI stub and ukify. Adding these
packages would allow the projuct to increase CI test coverage.

test/container/Dockerfile-alpine

index 95607c0a1906cbce70a18c6d51f613783e62f088..efe2681f4f7b594f504e634fe88f1c6c963abff1 100644 (file)
@@ -1,5 +1,4 @@
 # Test coverage provided by this container:
-# - default hostonly
 # - musl (instead of glibc)
 # - openrc (instead of systemd)
 # - eudev (instead of systemd-udev)
 # - ntfs-3g (not enabled with linux-virt)
 # - erofs-utils (not enabled with linux-virt)
 # - multipath-tools (does not work well)
-# - ovmf (systemd-boot-efistub, UEFI, UKI is not available)
 # - kernel-install is not available
 
 ARG DISTRIBUTION=alpine
 FROM docker.io/${DISTRIBUTION}
 
-# export ARG
+# export
 ARG DISTRIBUTION
+ARG TARGETARCH
 
 # Use dracut-tests package to install dependencies for test suite
 RUN apk add --no-cache \
@@ -29,4 +28,12 @@ RUN apk add --no-cache \
     build-base \
     cargo \
     dnsmasq \
-    dracut-tests
+    dracut-tests \
+    efistub \
+    ukify
+
+RUN \
+if [ "${TARGETARCH}" == "amd64" ]; then \
+    apk add --no-cache \
+        ovmf \
+; fi