Skip to content

Commit

Permalink
fix apt source
Browse files Browse the repository at this point in the history
  • Loading branch information
vnghia committed Aug 9, 2024
1 parent 5aaecc6 commit 32d75fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/cross-pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ if [[ "$CROSS_TARGET" == "aarch64-unknown-linux-gnu" ]]; then
apt-get update && apt-get install --assume-yes libssl-dev build-essential

sed 's/^deb http/deb [arch=amd64] http/' -i '/etc/apt/sources.list'
echo 'deb [arch=arm64] http://archive.ubuntu.com/pub/ubuntu/ports jammy main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://archive.ubuntu.com/pub/ubuntu/ports jammy-updates main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://archive.ubuntu.com/pub/ubuntu/ports jammy-backports main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://ports.ubuntu.com/ jammy main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://ports.ubuntu.com/ jammy-updates main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://ports.ubuntu.com/ jammy-backports main restricted universe multiverse' >> /etc/apt/sources.list

dpkg --add-architecture $CROSS_DEB_ARCH
apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH pkg-config:$CROSS_DEB_ARCH
Expand Down

0 comments on commit 32d75fa

Please sign in to comment.