mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 10:05:17 +00:00
Mismatching GOARCH and debian arch
This commit is contained in:
parent
3089f2326e
commit
9285e0fe25
@ -57,7 +57,8 @@ systemctl disable yggdrasil
|
||||
systemctl stop yggdrasil
|
||||
EOF
|
||||
|
||||
GOOS=linux GOARCH=$PKGARCH ./build
|
||||
if [ $PKGARCH = "amd64" ]; then GOARCH=amd64 GOOS=linux ./build; fi
|
||||
if [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build; fi
|
||||
|
||||
cp yggdrasil /tmp/$PKGNAME/usr/bin/
|
||||
cp contrib/systemd/yggdrasil.service /tmp/$PKGNAME/etc/systemd/system/
|
||||
@ -76,4 +77,3 @@ ar -r $PKGFILE \
|
||||
/tmp/$PKGNAME/data.tar.gz
|
||||
|
||||
rm -rf /tmp/$PKGNAME
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user