noarch arch handling fixups on armhfp tasks

armhfp is not a valid arch acording to autoconf. We were using arm
instead. nodejs has a bunch of packages with ExclusiveArch and are
hitting issues with using arm as the arch so switch to armv7hl
instead

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2016-03-01 16:43:15 -06:00 committed by Mike McLean
parent e5f582312d
commit 7390348a97

View file

@ -202,7 +202,7 @@ class BuildRoot(object):
self.br_arch = koji.canonArch(arch)
# armhfp is not a valid arch according to autoconf
if arch == 'armhfp':
self.target_arch = 'arm'
self.target_arch = 'armv7hl'
else:
self.target_arch = arch
self.logger.debug("New buildroot: %(tag_name)s/%(br_arch)s/%(repoid)s" % vars(self))