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:
Tom Gundersen 2022-07-13 15:31:03 +01:00 committed by Christian Kellner
parent 5f3f477d47
commit a92b672bc7
2 changed files with 3 additions and 9 deletions

View file

@ -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
}

View file

@ -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...),