From b8f2747d7aae25ee7e7d3107306cf0d2b8b078c0 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 4 Jan 2019 12:37:55 -0800 Subject: [PATCH 1/3] Add mipsle package --- scripts/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index efe9910ecc688..50e7dc338ad08 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -85,7 +85,7 @@ supported_builds = { "windows": [ "amd64", "i386" ], - "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x"], + "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsle"], "freebsd": [ "amd64", "i386" ] } From 17d8a0f52aa8cc986203ccf10d3bcad615329add Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Sat, 2 Feb 2019 18:36:06 -0800 Subject: [PATCH 2/3] Fix debian arch for mipsel --- scripts/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index 50e7dc338ad08..6cdee1fb3052d 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -85,7 +85,7 @@ supported_builds = { "windows": [ "amd64", "i386" ], - "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsle"], + "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel"], "freebsd": [ "amd64", "i386" ] } @@ -455,6 +455,8 @@ def build(version=None, goarch = "arm64" elif "arm" in arch: goarch = "arm" + elif arch == "mipsel": + goarch = "mipsle" build_command += "GOOS={} GOARCH={} ".format(platform, goarch) if "arm" in arch: From cb250eae243f0ce1af5a56e468e707d2ab121209 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Sat, 2 Feb 2019 19:11:26 -0800 Subject: [PATCH 3/3] Remove mipsel rpm because it is untested --- scripts/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.py b/scripts/build.py index 6cdee1fb3052d..58b684f82cad9 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -571,6 +571,8 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static= shutil.copy(fr, to) for package_type in supported_packages[platform]: + if package_type == "rpm" and arch == "mipsel": + continue # Package the directory structure for each package type for the platform logging.debug("Packaging directory '{}' as '{}'.".format(build_root, package_type)) name = pkg_name