-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/deb installer not working on armhf (#32)
* The ARM Debian installer is now correctly compiled for non 64 bit ARM architectures * The prebuilt ARM version (32 bit) is now built for ARMv6 instead ARMv5 which is a huge improvement in performance * Added a 64 bit ARM (ARMv8) prebuilt version including installer
- Loading branch information
Showing
10 changed files
with
1,210 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
# Same as build.sh but cross compiles for Linux ARM architecture | ||
export GOOS=linux | ||
export GOARCH=arm | ||
export GOARM=5 | ||
# Same as build.sh but cross compiles for ARM on linux | ||
|
||
echo Cross compiling for Linux ARM architecture | ||
export GOOS=linux | ||
|
||
if [ "$1" = "arm" ]; then | ||
export GOARCH=arm | ||
export GOARM=6 | ||
echo Cross compiling for Linux ARMv$GOARM architecture | ||
elif [ "$1" = "arm64" ]; then | ||
export GOARCH=arm64 | ||
echo Cross compiling for Linux ARM64 architecture | ||
else | ||
echo No architecture provided | ||
echo Valid values are arm or arm64 | ||
exit 1 | ||
fi | ||
|
||
BASEDIR=$(dirname $0) | ||
sh $BASEDIR/build.sh $1 | ||
sh $BASEDIR/build.sh $2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
set -ex | ||
|
||
go get github.com/midstar/llog | ||
go get github.com/midstar/gocfg | ||
go get github.com/disintegration/imaging | ||
go get github.com/rwcarlsen/goexif/exif | ||
go get github.com/GeertJohan/go.rice | ||
go get github.com/GeertJohan/go.rice/rice | ||
go get github.com/fsnotify/fsnotify | ||
go get github.com/fsnotify/fsnotify | ||
|
||
go install github.com/GeertJohan/go.rice/rice |