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

[RISCV64][CI] Use simpler way to install riscv64 packages #4002

Merged
merged 8 commits into from
Jun 16, 2023
Prev Previous commit
Next Next commit
[RISCV64][CI] Still need debian-port
ptitSeb committed Jun 16, 2023
commit 62991339b75277c85de6c0fea23d8f5a09483a7f
14 changes: 7 additions & 7 deletions .github/cross-linux-riscv64/install_deb.sh
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@ apt-get install --assume-yes --no-install-recommends \
sharutils \
gnupg

## Add port from bookworm to get some riscv packages
#debsource="deb http://deb.debian.org/debian-ports bookworm main"
#
## temporarily use debian sources rather than ubuntu.
#touch /etc/apt/sources.list
#mv /etc/apt/sources.list /etc/apt/sources.list.bak
#echo -e "${debsource}" > /etc/apt/sources.list
# Add port from bookworm to get some riscv packages
debsource="deb http://deb.debian.org/debian-ports bookworm main"

# temporarily use debian sources rather than ubuntu.
touch /etc/apt/sources.list
mv /etc/apt/sources.list /etc/apt/sources.list.bak
echo -e "${debsource}" > /etc/apt/sources.list

dpkg --add-architecture "${arch}" || echo "foreign-architecture ${arch}" \
> /etc/dpkg/dpkg.cfg.d/multiarch