mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-21 08:47:02 +00:00
scripts/build_manylinux_in_docker.sh: use CentOS Vault mirrors for EOL CentOS 7
CentOS 7 is now EOL, so the manylinux2014 build is failing; see pypa/manylinux#1641. Work around it by using the archive mirror. Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
22b4223153
commit
a36c056bec
@ -7,6 +7,10 @@ set -eux
|
||||
# Drop into a shell if something fails.
|
||||
trap 'if [ $? -ne 0 ]; then exec bash -i; fi' EXIT
|
||||
|
||||
sed -i -e 's/mirrorlist/#mirrorlist/g' \
|
||||
-e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \
|
||||
/etc/yum.repos.d/CentOS-*
|
||||
|
||||
yum install -y \
|
||||
bzip2-devel \
|
||||
libzstd-devel \
|
||||
|
Loading…
Reference in New Issue
Block a user