Add linux mipsle packages (#5234)

This commit is contained in:
Daniel Nelson 2019-02-04 13:50:13 -08:00 committed by GitHub
parent 96f99a7a79
commit c579a6bdb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,7 @@ targets = {
supported_builds = {
"windows": [ "amd64", "i386" ],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x"],
"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:
@ -569,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