initramfs: Consolidate and rename drop-initramfs
No reason to have the "base" settings in distinct files.
This commit is contained in:
parent
48c85849e6
commit
ecbd78af68
|
|
@ -3,14 +3,12 @@ postprocess:
|
|||
- |
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p /usr/lib/dracut/dracut.conf.d
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-nohostonly.conf << 'EOF'
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-base.conf << 'EOF'
|
||||
# We want a generic image; hostonly makes no sense as part of a server side build
|
||||
hostonly=no
|
||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/49-tpm2-tss.conf << 'EOF'
|
||||
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
|
||||
# We want this for systemd-cryptsetup tpm2 locking
|
||||
dracutmodules+=" tpm2-tss "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-centos-bootc-base.conf << 'EOF'
|
||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base "
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in New Issue