initramfs.yaml: add bootc and ostree
Currently downstreams who regenerate the initramfs via dracut have to
add these or else the system won't be able to boot. Adding bootc here
also makes the images work on the composefs backend.
This was also done in fedora-bootc [1].
[1] 5b54c5f4bf/minimal/initramfs.yaml (L13)
Signed-off-by: renner <renner0@posteo.de>
This commit is contained in:
parent
d1338c991a
commit
e8dd41d0b8
1 changed files with 9 additions and 0 deletions
|
|
@ -35,3 +35,12 @@ postprocess:
|
|||
# Add support for systemd-cryptsetup and tpm2-tss LUKS locking
|
||||
add_dracutmodules+=" tpm2-tss "
|
||||
EOF
|
||||
|
||||
- |
|
||||
#!/usr/bin/env bash
|
||||
set -xeuo pipefail
|
||||
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-atomic-bootc-ostree.conf << 'EOF'
|
||||
# So the system is actually bootable when derived container builds regenerate the initramfs
|
||||
add_dracutmodules+=" ostree bootc "
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue