mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-28 22:11:37 +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
|
systemctl stop yggdrasil
|
||||||
EOF
|
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 yggdrasil /tmp/$PKGNAME/usr/bin/
|
||||||
cp contrib/systemd/yggdrasil.service /tmp/$PKGNAME/etc/systemd/system/
|
cp contrib/systemd/yggdrasil.service /tmp/$PKGNAME/etc/systemd/system/
|
||||||
@ -76,4 +77,3 @@ ar -r $PKGFILE \
|
|||||||
/tmp/$PKGNAME/data.tar.gz
|
/tmp/$PKGNAME/data.tar.gz
|
||||||
|
|
||||||
rm -rf /tmp/$PKGNAME
|
rm -rf /tmp/$PKGNAME
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user