mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-31 21:40:44 +00:00
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
1 changed files with 3 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue