fix: install kernel-firmware package on centos6
This commit is contained in:
parent
2c462da3de
commit
e18ddf8a11
@ -130,7 +130,11 @@ func (centos CentOS) runs() (commands []string) {
|
|||||||
|
|
||||||
cmdf("yum -y groupinstall 'Development Tools'")
|
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" {
|
if centos.release < "8" {
|
||||||
cmdf("yum -y install deltarpm")
|
cmdf("yum -y install deltarpm")
|
||||||
|
Loading…
Reference in New Issue
Block a user