Fix RPM architecture for armhf (#2003)
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
This commit is contained in:
parent
5a3f2e61f3
commit
1d1afe6481
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue