mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Mismatching GOARCH and debian arch
This commit is contained in:
		
							parent
							
								
									3089f2326e
								
							
						
					
					
						commit
						9285e0fe25
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue