1
0

Add kernel modules to boot on el{8,9}

This commit is contained in:
dump_stack() 2023-05-09 17:45:47 +00:00
parent 2460b8230a
commit cd68dc1ddc
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -536,7 +536,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
version = strings.Replace(pkgname, "kernel-", "", -1) 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) "/boot/initramfs-%s.img %s", version, version)
default: default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String()) err = fmt.Errorf("%s not yet supported", sk.DistroType.String())