Merge branch 'switch-add-dracutmodules' into 'main'
initramfs: Switch to `add_dracutmodules` See merge request fedora/bootc/base-images!36
This commit is contained in:
commit
4a4e727254
|
|
@ -6,13 +6,13 @@ postprocess:
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-base.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-base.conf << 'EOF'
|
||||||
# We want a generic image; hostonly makes no sense as part of a server side build
|
# We want a generic image; hostonly makes no sense as part of a server side build
|
||||||
hostonly=no
|
hostonly=no
|
||||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base ostree "
|
add_dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base ostree "
|
||||||
EOF
|
EOF
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/22-bootc-generic.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/22-bootc-generic.conf << 'EOF'
|
||||||
# Extra modules that we want by default that are known to exist in the kernel
|
# Extra modules that we want by default that are known to exist in the kernel
|
||||||
dracutmodules+=" virtiofs "
|
add_dracutmodules+=" virtiofs "
|
||||||
EOF
|
EOF
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
|
||||||
# We want this for systemd-cryptsetup tpm2 locking
|
# We want this for systemd-cryptsetup tpm2 locking
|
||||||
dracutmodules+=" tpm2-tss "
|
add_dracutmodules+=" tpm2-tss "
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ postprocess:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p /usr/lib/dracut/dracut.conf.d
|
mkdir -p /usr/lib/dracut/dracut.conf.d
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/30-bootc-tier-1.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/30-bootc-tier-1.conf << 'EOF'
|
||||||
dracutmodules+=" lvm crypt fips "
|
add_dracutmodules+=" lvm crypt fips "
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue