Add kernel modules to boot on el{8,9}
This commit is contained in:
parent
2460b8230a
commit
cd68dc1ddc
@ -536,7 +536,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
|
||||
version = strings.Replace(pkgname, "kernel-", "", -1)
|
||||
}
|
||||
|
||||
cmd += fmt.Sprintf(" && dracut --add-drivers 'e1000 ext4' -f -v "+
|
||||
cmd += fmt.Sprintf(" && dracut -v --add-drivers 'ata_piix libata' --force-drivers 'e1000 ext4 sd_mod' -f "+
|
||||
"/boot/initramfs-%s.img %s", version, version)
|
||||
default:
|
||||
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
|
||||
|
Loading…
Reference in New Issue
Block a user