cross custom build command
This commit is contained in:
parent
8ce7bb0857
commit
acb956a28d
|
@ -47,4 +47,12 @@ maintainer = "c0repwn3r <core@e3t.cc>"
|
||||||
copyright = "e3team <admin@e3t.cc>"
|
copyright = "e3team <admin@e3t.cc>"
|
||||||
license-file = "LICENSE.txt"
|
license-file = "LICENSE.txt"
|
||||||
maintainer-scripts = "debian/"
|
maintainer-scripts = "debian/"
|
||||||
systemd-units = { enable = false, unit-name = "tfclient@" }
|
systemd-units = { enable = false, unit-name = "tfclient@" }
|
||||||
|
|
||||||
|
# Cross config
|
||||||
|
[target.aarch64-unknown-linux-musl]
|
||||||
|
pre-build = [
|
||||||
|
"wget https://go.dev/dl/go1.20.5.linux-arm64.tar.gz -O /go.tar.gz",
|
||||||
|
"tar -C /usr/local -xzf /go.tar.gz",
|
||||||
|
"echo \"export PATH=$PATH:/usr/local/go/bin\" >> /etc/profile"
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue