From 1bfa82ef77c32855f1e392b4d24eeb0340406d34 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 25 Jan 2024 09:19:44 -0500 Subject: [PATCH] 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 --- tier-1/initramfs-full.yaml | 8 ++++++++ tier-1/manifest.yaml | 1 + 2 files changed, 9 insertions(+) create mode 100644 tier-1/initramfs-full.yaml diff --git a/tier-1/initramfs-full.yaml b/tier-1/initramfs-full.yaml new file mode 100644 index 0000000..3288489 --- /dev/null +++ b/tier-1/initramfs-full.yaml @@ -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 diff --git a/tier-1/manifest.yaml b/tier-1/manifest.yaml index de6afd5..b7143ff 100644 --- a/tier-1/manifest.yaml +++ b/tier-1/manifest.yaml @@ -12,6 +12,7 @@ include: - user-experience.yaml - fwupd.yaml - persistent-journal.yaml + - initramfs-full.yaml packages: # Include and set the default editor