Skip to content

Commit

Permalink
restrict arches
Browse files Browse the repository at this point in the history
RDO only supports x86_64

Found in a CI job log:
stderr: Cannot add package python-scss-1.2.1-1.el7.ppc64.rpm to transaction. Not a compatible architecture: ppc64
  • Loading branch information
apevec committed Oct 15, 2014
1 parent e00b54f commit 572989e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rdoupdate/bsources/koji_.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ class KojiSource(BuildSource):
tool = 'koji'

def _download_build(self, build):
run(self.tool, 'download-build', build.id)
run(self.tool, 'download-build',
'--arch=noarch',
'--arch=src',
'--arch=x86_64',
build.id)

def _build_available(self, build):
o = run(self.tool, 'buildinfo', build.id, fatal=False)
Expand Down

0 comments on commit 572989e

Please sign in to comment.