manifest/anaconda: pull in biosdevname if enabled
Rather than listing this in the package sets, pull it in implicitly by the pipline that requires it.
This commit is contained in:
parent
5f3f477d47
commit
a92b672bc7
2 changed files with 3 additions and 9 deletions
|
|
@ -266,15 +266,6 @@ func installerPackageSet(t *imageType) rpmmd.PackageSet {
|
|||
},
|
||||
}
|
||||
|
||||
switch t.Arch().Name() {
|
||||
case distro.X86_64ArchName:
|
||||
ps = ps.Append(rpmmd.PackageSet{
|
||||
Include: []string{
|
||||
"biosdevname",
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
return ps
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,9 @@ func (p *Anaconda) getBuildPackages() []string {
|
|||
|
||||
func (p *Anaconda) getPackageSetChain() []rpmmd.PackageSet {
|
||||
packages := p.anacondaBootPackageSet()
|
||||
if p.Biosdevname {
|
||||
packages = append(packages, "biosdevname")
|
||||
}
|
||||
return []rpmmd.PackageSet{
|
||||
{
|
||||
Include: append(packages, p.ExtraPackages...),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue