chore: remove duplicate options from dracut (#2572)

These are already included in our base image as configuration files,
there is no need to specify them on the cli again.

See: 5f1f192f00/initramfs.yaml
This commit is contained in:
renner 2026-07-18 08:35:29 +02:00 committed by GitHub
parent 18874dff53
commit 5c1ac08af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ set -ouex pipefail
KERNEL_VERSION=$(rpm -q --queryformat="%{evr}.%{arch}" kernel-core)
export DRACUT_NO_XATTR=1
/usr/bin/dracut --no-hostonly --kver "${KERNEL_VERSION}" --reproducible -v -f "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"
/usr/bin/dracut --kver "${KERNEL_VERSION}" --reproducible -v -f "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"
chmod 0600 "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"
echo "::endgroup::"

View file

@ -1 +1 @@
add_dracutmodules+=" fido2 tpm2-tss pkcs11 pcsc "
add_dracutmodules+=" fido2 pkcs11 pcsc "