1
0

fix: do not include some modules on opensuse 15.2

This commit is contained in:
dump_stack() 2023-06-20 11:30:09 +00:00
parent 1cb5c40c77
commit 41c4241d75
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -248,7 +248,10 @@ func (suse OpenSUSE) Install(version string, headers bool) (err error) {
cmdf("echo 'modprobe af_packet' >> %s", wpath)
cmdf("echo 'modprobe e1000' >> %s", wpath)
modules := "ata_piix libata e1000 ext4 sd_mod rfkill af_packet"
modules := "ata_piix e1000 rfkill af_packet"
if suse.release != "15.2" {
modules += " libata ext4 sd_mod"
}
format := "dracut "
format += "-a workaround "