Merge branch 'kdump-args' into 'main'

tier-0: Add /usr/lib/{passwd,group} to dracut

See merge request fedora/bootc/base-images!32
This commit is contained in:
Colin Walters (Red Hat) 2024-09-10 16:43:13 +00:00
commit 166df9118a
1 changed files with 6 additions and 0 deletions

View File

@ -16,3 +16,9 @@ postprocess:
# We want this for systemd-cryptsetup tpm2 locking # We want this for systemd-cryptsetup tpm2 locking
add_dracutmodules+=" systemd-cryptsetup tpm2-tss " add_dracutmodules+=" systemd-cryptsetup tpm2-tss "
EOF EOF
cat > /usr/lib/dracut/dracut.conf.d/59-altfiles.conf << 'EOF'
# https://issues.redhat.com/browse/RHEL-49590
# On image mode systems we use nss-altfiles for passwd and group,
# this makes sure dracut uses them which also fixes kdump writing to NFS.
install_items+=" /usr/lib/passwd /usr/lib/group "
EOF