]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
bootstrap: Fix building CentOS 8 Stream container images
authorAndreas Schneider <asn@samba.org>
Mon, 10 Jun 2024 13:28:30 +0000 (15:28 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 13 Jun 2024 07:38:28 +0000 (07:38 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15660

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
.gitlab-ci-main.yml
bootstrap/config.py
bootstrap/generated-dists/centos8s/bootstrap.sh
bootstrap/sha1sum.txt

index ddb29103115a28967b2d245e9efc77b3ceda753d..b651e71da29c9b65db23dad7343f9e545015e199 100644 (file)
@@ -47,7 +47,7 @@ variables:
   # Set this to the contents of bootstrap/sha1sum.txt
   # which is generated by bootstrap/template.py --render
   #
-  SAMBA_CI_CONTAINER_TAG: 431701dccb250e5138e9f8cd4aade863f979193d
+  SAMBA_CI_CONTAINER_TAG: b078783e082ead539940faaa644567bf4ed67f67
   #
   # We use the ubuntu2204 image as default as
   # it matches what we have on atb-devel-224
index 11d8314aefcb9c584c5256786aefcb7a91be1abe..a5a7366c7fa4b1c93eb347c7f14b2adf9dc7b33f 100644 (file)
@@ -241,6 +241,9 @@ CENTOS8S_YUM_BOOTSTRAP = r"""
 {GENERATED_MARKER}
 set -xueo pipefail
 
+sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
+sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
+
 yum update -y
 yum install -y dnf-plugins-core
 yum install -y epel-release
index 4b2c62c66d9a5cfd8b92dbdc9035765264a757fa..9e0aabbac288e100bc30f066b8abae2b016f16ff 100755 (executable)
@@ -7,6 +7,9 @@
 
 set -xueo pipefail
 
+sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
+sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
+
 yum update -y
 yum install -y dnf-plugins-core
 yum install -y epel-release
index cfc515b96b46389597dde5ada7b3fd4782c95304..1bb5e922d9b460e9ce0a274edfcd5614032f1541 100644 (file)
@@ -1 +1 @@
-431701dccb250e5138e9f8cd4aade863f979193d
+b078783e082ead539940faaa644567bf4ed67f67