Fix RPM architecture for armhf (#2003)

Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
This commit is contained in:
Pierre Fersing 2016-12-05 17:45:02 +01:00 committed by Cameron Sparr
parent 5a3f2e61f3
commit 1d1afe6481
1 changed files with 2 additions and 0 deletions

View File

@ -583,6 +583,8 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
if "static_" in arch: if "static_" in arch:
# Remove the "static_" from the displayed arch on the package # Remove the "static_" from the displayed arch on the package
package_arch = arch.replace("static_", "") package_arch = arch.replace("static_", "")
elif package_type == "rpm" and arch == 'armhf':
package_arch = 'armv6hl'
else: else:
package_arch = arch package_arch = arch
if not release and not nightly: if not release and not nightly: