]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: add swtpm for TPM emulation
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 20 Sep 2024 01:26:38 +0000 (21:26 -0400)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Fri, 20 Sep 2024 12:31:38 +0000 (08:31 -0400)
test/container/Dockerfile-alpine
test/container/Dockerfile-arch
test/container/Dockerfile-debian
test/container/Dockerfile-fedora
test/container/Dockerfile-gentoo
test/container/Dockerfile-opensuse
test/container/Dockerfile-ubuntu
test/container/Dockerfile-void

index 4074de4f49f2c1b275ad2221a4655a2895c6103a..91759c37e1a85fbff5e46d2585c4721c96fdc398 100644 (file)
@@ -29,8 +29,8 @@ RUN apk add --no-cache \
     e2fsprogs \
     erofs-utils \
     eudev \
-    findmnt \
     file \
+    findmnt \
     f2fs-tools \
     gawk \
     git \
@@ -40,9 +40,9 @@ RUN apk add --no-cache \
     jfsutils \
     jq \
     kbd \
+    keyutils \
     kmod \
     kmod-dev \
-    keyutils \
     libcap-utils \
     linux-virt \
     losetup \
@@ -70,6 +70,7 @@ RUN apk add --no-cache \
     sfdisk \
     squashfs-tools \
     sudo \
+    swtpm \
     util-linux-misc \
     xfsprogs \
     xz
index 5f88b9d536091051c50c10d02338ba9435dddda3..6dd139f8a1f260810a4d78878b713b8b932fe21e 100644 (file)
@@ -50,10 +50,11 @@ RUN pacman --noconfirm -Syu \
     shfmt \
     squashfs-tools \
     strace \
+    swtpm \
     systemd-ukify \
     tcpdump \
     tgt \
     tpm2-tools \
-    xfsprogs \
     vi \
+    xfsprogs \
     && yes | pacman -Scc
index 3402e51b3c618c3aeaa6136874e6eda00382a11a..7346cb2688dd654011cdedd5fb73a85153f0703d 100644 (file)
@@ -24,10 +24,10 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
     docbook-xml \
     docbook-xsl \
     erofs-utils \
+    f2fs-tools \
     fcoe-utils \
     fdisk \
     file \
-    f2fs-tools \
     g++ \
     gawk \
     git \
@@ -59,8 +59,8 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
     parted \
     pcscd \
     pigz \
-    plymouth \
     pkg-config \
+    plymouth \
     procps \
     qemu-kvm \
     rng-tools5 \
@@ -68,6 +68,7 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
     shellcheck \
     squashfs-tools \
     strace \
+    swtpm \
     systemd-boot-efi \
     systemd-container \
     systemd-coredump \
index c3a96ec0a877ca193be6ed4d5ceec70e9bf2a37d..9977a51e9b99402d46ba4c577716c0011b20387e 100644 (file)
@@ -62,6 +62,7 @@ RUN dnf -y install --setopt=install_weak_deps=False \
     shfmt \
     squashfs-tools \
     strace \
+    swtpm \
     systemd-boot-unsigned \
     systemd-networkd \
     systemd-resolved \
index 4191e1a7ec6b0a72216cfd680126a84ead3a5498..d9850f6ca09bf7b474028cf3b6fe06dbc4b00555 100644 (file)
@@ -25,17 +25,18 @@ RUN emerge --quiet --update --deep --newuse --autounmask-continue=y --with-bdeps
 
 RUN emerge --quiet --deep --autounmask-continue=y --with-bdeps=n --noreplace \
     app-admin/rsyslog \
+    app-alternatives/bc \
     app-alternatives/cpio \
-       app-alternatives/bc \
     app-arch/cpio \
-    app-crypt/tpm2-tools \
     app-crypt/sbsigntools \
+    app-crypt/swtpm \
+    app-crypt/tpm2-tools \
     app-emulation/qemu \
     app-misc/jq \
     app-portage/gentoolkit \
     app-shells/dash \
-    dev-lang/rust-bin \
     dev-lang/perl \
+    dev-lang/rust-bin \
     dev-libs/openssl \
     net-fs/cifs-utils \
     net-fs/nfs-utils \
@@ -64,8 +65,8 @@ RUN emerge --quiet --deep --autounmask-continue=y --with-bdeps=n --noreplace \
     sys-fs/squashfs-tools \
     sys-fs/xfsprogs \
     sys-kernel/gentoo-kernel-bin \
-    sys-libs/libxcrypt \
     sys-libs/glibc \
+    sys-libs/libxcrypt \
     virtual/libelf \
     virtual/pkgconfig \
     && rm -rf /var/cache/* /usr/share/doc/* /usr/share/man/*
index 792e21b04235c567b2b12ae611d315c1215beca5..3ba823a54804e94f66ac46679d7717b05dfda18f 100644 (file)
@@ -47,6 +47,7 @@ RUN dnf -y install --setopt=install_weak_deps=False \
     shfmt \
     squashfs \
     strace \
+    swtpm \
     systemd-boot \
     systemd-experimental \
     tar \
index 5a7da17183325310144cccb9daf943bcb75da4c5..d8796a08a495c4c2f3945dc72e2f9872bcacc9fd 100644 (file)
@@ -25,10 +25,10 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && \
     docbook-xml \
     docbook-xsl \
     erofs-utils \
+    f2fs-tools \
     fcoe-utils \
     fdisk \
     file \
-    f2fs-tools \
     g++ \
     gawk \
     git \
@@ -61,8 +61,8 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && \
     parted \
     pcscd \
     pigz \
-    plymouth-themes \
     pkg-config \
+    plymouth-themes \
     procps \
     qemu-kvm \
     rng-tools5 \
@@ -70,6 +70,7 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && \
     shellcheck \
     squashfs-tools \
     strace \
+    swtpm \
     systemd-boot-efi \
     systemd-container \
     systemd-coredump \
index ed6379b3d7a3d279b32d5a6d42a441bfcde748cd..17104a264eab10897acfdf64629838146fc54f80 100644 (file)
@@ -57,6 +57,7 @@ RUN xbps-install -Syu xbps && xbps-install -yu \
     shfmt \
     squashfs-tools \
     strace \
+    swtpm \
     systemd-boot-efistub \
     tcpdump \
     tgt \