summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2020-12-09 00:03:47 +1100
committerKarolin Seeger <kseeger@samba.org>2021-01-05 12:50:02 +0000
commitc5159bd6d7678b62461da785a2994f1cf97ca5db (patch)
tree99d5f1c5ce08f50806498117a1bd1c971723e9e4 /bootstrap
parent6e6a16d88050ee7930f74e12615c0e046c3f9f77 (diff)
downloadsamba-c5159bd6d7678b62461da785a2994f1cf97ca5db.tar.gz
bootstrap: Cope with case changes in CentOS 8 repo names
RN: Be more flexible with repository names in CentOS 8 test environments BUG: https://bugzilla.samba.org/show_bug.cgi?id=14594 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (backported from commit 1c59f49aaede8ec1662d4e49aef84fcd902a8a76) Autobuild-User(v4-13-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-13-test): Tue Jan 5 12:50:02 UTC 2021 on sn-devel-184
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/config.py6
-rwxr-xr-xbootstrap/generated-dists/centos8/bootstrap.sh6
-rw-r--r--bootstrap/sha1sum.txt2
3 files changed, 9 insertions, 5 deletions
diff --git a/bootstrap/config.py b/bootstrap/config.py
index 24f21a3c749..320a28e0f00 100644
--- a/bootstrap/config.py
+++ b/bootstrap/config.py
@@ -232,8 +232,10 @@ yum install -y dnf-plugins-core
yum install -y epel-release
yum -v repolist all
-yum config-manager --set-enabled PowerTools -y
-yum config-manager --set-enabled Devel -y
+yum config-manager --set-enabled PowerTools -y || \
+ yum config-manager --set-enabled powertools -y
+yum config-manager --set-enabled Devel -y || \
+ yum config-manager --set-enabled devel -y
yum update -y
yum install -y \
diff --git a/bootstrap/generated-dists/centos8/bootstrap.sh b/bootstrap/generated-dists/centos8/bootstrap.sh
index b494d0040dd..eeea0e8f3b3 100755
--- a/bootstrap/generated-dists/centos8/bootstrap.sh
+++ b/bootstrap/generated-dists/centos8/bootstrap.sh
@@ -12,8 +12,10 @@ yum install -y dnf-plugins-core
yum install -y epel-release
yum -v repolist all
-yum config-manager --set-enabled PowerTools -y
-yum config-manager --set-enabled Devel -y
+yum config-manager --set-enabled PowerTools -y || \
+ yum config-manager --set-enabled powertools -y
+yum config-manager --set-enabled Devel -y || \
+ yum config-manager --set-enabled devel -y
yum update -y
yum install -y \
diff --git a/bootstrap/sha1sum.txt b/bootstrap/sha1sum.txt
index 345d4a95e98..9101ad627cc 100644
--- a/bootstrap/sha1sum.txt
+++ b/bootstrap/sha1sum.txt
@@ -1 +1 @@
-1275dc52ac8c1de5981f267df88b85b6f87e299a
+b5b78cacae2fa6cec91925170bc6d4e3774cac9b