1
0

fix: install kernel-firmware package on centos6

This commit is contained in:
dump_stack() 2023-05-25 12:42:16 +00:00
parent 2c462da3de
commit e18ddf8a11
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -130,7 +130,11 @@ func (centos CentOS) runs() (commands []string) {
cmdf("yum -y groupinstall 'Development Tools'")
cmdf("yum -y install linux-firmware")
if centos.release <= 6 {
cmdf("yum -y install kernel-firmware")
} else {
cmdf("yum -y install linux-firmware")
}
if centos.release < "8" {
cmdf("yum -y install deltarpm")