Skip the src arch
Pungi returns also src packages, so we can get a src build architecture, which is not a usable build arch.
This commit is contained in:
parent
08a752551a
commit
85c91cf6b2
@ -480,7 +480,10 @@ class Lorax(BaseLoraxClass):
|
||||
installed, available = self.yum.search("anaconda")
|
||||
|
||||
if available:
|
||||
anaconda = available[0]
|
||||
anaconda = available.pop(0)
|
||||
# src is not a real arch
|
||||
if anaconda.arch == "src":
|
||||
anaconda = available.pop(0)
|
||||
buildarch = anaconda.arch
|
||||
else:
|
||||
# fallback to the system architecture
|
||||
|
Loading…
Reference in New Issue
Block a user