Skip to content

Commit

Permalink
debian-cross-aarch64-prep.sh: Support file paths
Browse files Browse the repository at this point in the history
These `file` paths are used to define mirrors on the GitHub Runner Image
for Ubuntu 20.04 and 22.04.

This should fix the flaky aarch64 build.
  • Loading branch information
glebm committed Aug 22, 2023
1 parent 7b06703 commit 06977fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Packaging/nix/debian-cross-aarch64-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR} multiverse
deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR}-updates multiverse
deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR}-backports main restricted universe multiverse
LIST
sudo sed -i 's/deb http/deb [arch=amd64,i386] http/' /etc/apt/sources.list
sudo sed -E -i 's/deb (http|file|mirror)/deb [arch=amd64,i386] \1/' /etc/apt/sources.list
cat /etc/apt/sources.list
fi

sudo dpkg --add-architecture arm64
Expand Down

0 comments on commit 06977fe

Please sign in to comment.