debian-bootc-base-images/tier-1/initramfs-full.yaml
Colin Walters d858a847a3 tier-1: Enable dracut crypt module too
We want to support LUKS encrypted root filesystems in general.
We're shipping the code in the root, so we might as well enable
it in the initramfs.
2024-02-05 08:45:11 -05:00

8 lines
240 B
YAML

# 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 crypt "
EOF