Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arm64-linux build #55

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Insert target repository at the top
  • Loading branch information
fwcd committed Nov 30, 2023
commit 4d391f9e577e69153e90d84763a1d8924241e986
3 changes: 2 additions & 1 deletion scripts/install-ubuntu-deps
Original file line number Diff line number Diff line change
@@ -64,7 +64,8 @@ if [[ -n "$host" && -n "$target" && "$host" != "$target" ]]; then

echo "==> Adding target architecture to APT..."
ubuntu_version="$(cat /etc/os-release | grep VERSION_CODENAME | cut -d '=' -f 2-)"
sudo bash -c "echo 'deb [arch=$target_deb_arch] $target_mirror $ubuntu_version main multiverse universe' >> /etc/apt/sources.list"
sudo bash -c "{ echo 'deb[arch=$target_deb_arch] $target_mirror $ubuntu_version main multiverse universe'; cat /etc/apt/sources.list } > /etc/apt/sources.list.new"
sudo mv /etc/apt/sources.list{.new,}
sudo dpkg --add-architecture "$target_deb_arch"
sudo apt-get update
fi