forked from rpms/kernel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
1 month ago
|
# generic + compressed please
|
||
|
hostonly="no"
|
||
|
compress="xz"
|
||
|
|
||
|
# VMs can't update microcode anyway
|
||
|
early_microcode="no"
|
||
|
|
||
|
# modules: basics
|
||
|
dracutmodules+=" base systemd systemd-initrd dracut-systemd dbus dbus-broker usrmount shutdown "
|
||
|
|
||
|
# modules: storage support
|
||
|
dracutmodules+=" dm lvm rootfs-block fs-lib "
|
||
|
|
||
|
# modules: tpm and crypto
|
||
|
dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase "
|
||
|
|
||
|
# dracut >= 102 separated systemd-cryptsetup into its own module
|
||
|
CSMODULE=`dracut --list-modules --no-kernel | grep '^systemd-cryptsetup$'`
|
||
|
dracutmodules+=" $CSMODULE "
|
||
|
|
||
|
# modules: support root on virtiofs
|
||
|
dracutmodules+=" virtiofs "
|
||
|
|
||
|
# modules: use sysext images (see 'man systemd-sysext')
|
||
|
dracutmodules+=" systemd-sysext "
|
||
|
|
||
|
# modules: root disk integrity protection
|
||
|
dracutmodules+=" systemd-veritysetup "
|
||
|
|
||
|
# drivers: virtual buses, pci
|
||
|
drivers+=" virtio-pci virtio-mmio " # qemu-kvm
|
||
|
drivers+=" hv-vmbus pci-hyperv " # hyperv
|
||
|
drivers+=" xen-pcifront " # xen
|
||
|
|
||
|
# drivers: storage
|
||
|
drivers+=" ahci nvme sd_mod sr_mod " # generic
|
||
|
drivers+=" virtio-blk virtio-scsi " # qemu-kvm
|
||
|
drivers+=" hv-storvsc " # hyperv
|
||
|
drivers+=" xen-blkfront " # xen
|
||
|
|
||
|
# root encryption
|
||
|
drivers+=" dm_crypt "
|
||
|
|
||
|
# root disk integrity protection
|
||
|
drivers+=" dm_verity overlay "
|
||
|
|
||
|
# filesystems
|
||
|
filesystems+=" vfat ext4 xfs overlay "
|