From b5e3b05e77e9b0476bffaeea71d2caa17ee90bb6 Mon Sep 17 00:00:00 2001 From: Colin Reeder Date: Sun, 7 Apr 2019 13:06:24 -0600 Subject: [PATCH 1/2] Add armel support to deb script --- contrib/deb/generate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 4433a9d..00f6536 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -27,6 +27,7 @@ elif [ $PKGARCH = "mipsel" ]; then GOARCH=mipsle GOOS=linux ./build elif [ $PKGARCH = "mips" ]; then GOARCH=mips64 GOOS=linux ./build elif [ $PKGARCH = "armhf" ]; then GOARCH=arm GOOS=linux GOARM=6 ./build elif [ $PKGARCH = "arm64" ]; then GOARCH=arm64 GOOS=linux ./build +elif [ $PKGARCH = "armel" ]; then GOARCH=arm GOOS=linux GOARM=5 ./build else echo "Specify PKGARCH=amd64,i386,mips,mipsel,armhf,arm64" exit 1 From 2465ad03849771587c8a88c5269672d3eb20fa10 Mon Sep 17 00:00:00 2001 From: Colin Reeder Date: Sun, 7 Apr 2019 16:14:37 -0600 Subject: [PATCH 2/2] Add armel to PKGARCH usage list --- contrib/deb/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 00f6536..90707a7 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -29,7 +29,7 @@ elif [ $PKGARCH = "armhf" ]; then GOARCH=arm GOOS=linux GOARM=6 ./build elif [ $PKGARCH = "arm64" ]; then GOARCH=arm64 GOOS=linux ./build elif [ $PKGARCH = "armel" ]; then GOARCH=arm GOOS=linux GOARM=5 ./build else - echo "Specify PKGARCH=amd64,i386,mips,mipsel,armhf,arm64" + echo "Specify PKGARCH=amd64,i386,mips,mipsel,armhf,arm64,armel" exit 1 fi