tier-1: Enable lvm dracut module

Right now we have an "allowlist" effectively for our dracut modules
because we specify a configuration in `/usr/lib/dracut/dracut.conf.d`
which seems to turn off autodetection.

Add in lvm which we definitely want to support.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2024-01-25 09:19:44 -05:00
parent a3e0c1b97b
commit 1bfa82ef77
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Configuration for the "tier-1" initramfs
postprocess:
- |
#!/usr/bin/env bash
mkdir -p /usr/lib/dracut/dracut.conf.d
cat > /usr/lib/dracut/dracut.conf.d/30-bootc-tier-1.conf << 'EOF'
dracutmodules+=" lvm "
EOF

View File

@ -12,6 +12,7 @@ include:
- user-experience.yaml
- fwupd.yaml
- persistent-journal.yaml
- initramfs-full.yaml
packages:
# Include and set the default editor