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 22.04.
  • Loading branch information
glebm committed Aug 22, 2023
1 parent 7b06703 commit 0c51e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packaging/nix/debian-cross-aarch64-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ 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)/deb [arch=amd64,i386] \1/' /etc/apt/sources.list
fi

sudo dpkg --add-architecture arm64
Expand Down

0 comments on commit 0c51e1d

Please sign in to comment.