initramfs.yaml: add bootc and ostree
All checks were successful
Compose tests / testing-farm (pull_request_target) Successful in 34m43s
Daily comps-sync check / validate (pull_request) Successful in 22s
Validate manifests / validate (pull_request) Successful in 22s

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:
renner 03 2026-10-29 12:52:39 +01:00
commit e8dd41d0b8
No known key found for this signature in database

View file

@ -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