]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: fix the dlopen dependencies test on Gentoo
authorJames Le Cuirot <jlecuirot@microsoft.com>
Fri, 23 May 2025 21:53:26 +0000 (22:53 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 25 May 2025 11:42:07 +0000 (07:42 -0400)
systemd needs to have fido2 support enabled at build time for the dlopen
dependency to be present.

Closes: https://github.com/dracut-ng/dracut-ng/issues/1347
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
test/container/Dockerfile-gentoo

index 492d0ae840f7987ab57835dc076ad2c1b461b4bc..7c13bcd095225f465189585377a8ba15abf87057 100644 (file)
@@ -32,8 +32,8 @@ RUN \
     echo "USE=\"boot kernel-install pkcs7 pkcs11 tpm -initramfs\"" >> /etc/portage/make.conf ;\
     # Use debian's installkernel \
     echo 'sys-kernel/installkernel -systemd' >> /etc/portage/package.use/kernel ;\
-    # Enable ukify, qrcode and cryptsetup (includes unit generator for crypttab) \
-    echo 'sys-apps/systemd ukify qrcode cryptsetup' >> /etc/portage/package.use/systemd ;\
+    # Enable fido2, ukify, qrcode and cryptsetup (includes unit generator for crypttab) \
+    echo 'sys-apps/systemd fido2 ukify qrcode cryptsetup' >> /etc/portage/package.use/systemd ;\
     # Support thin volumes and build all of LVM2 including daemons and tools like lvchange \
     echo 'sys-fs/lvm2 thin lvm' >> /etc/portage/package.use/lvm2 ;\
     # force hostonly mode as this is the config recommended by https://wiki.gentoo.org/wiki/Dracut \