Skip to content

Commit

Permalink
Repo needs to be adapted on all RHEL8 based distro
Browse files Browse the repository at this point in the history
Error is:
|Last metadata expiration check: 0:00:02 ago on Thu 23 May 2024 11:16:33 AM UTC.
|All matches were filtered out by modular filtering for argument: MariaDB-devel
|  * Maybe you meant: mariadb-devel
|All matches were filtered out by modular filtering for argument: MariaDB-server
|  * Maybe you meant: mariadb-server
|All matches were filtered out by modular filtering for argument: MariaDB-test
|  * Maybe you meant: mariadb-test
  • Loading branch information
fauust committed May 27, 2024
1 parent f4c236b commit 70368ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def getRpmAutobakeFactory(mtrDbPool):
baseurl=%(kw:url)s/%(prop:tarbuildnum)s/%(prop:buildername)s/rpms
gpgcheck=0
EOF
if [ "%(prop:rpm_type)s" = rhel8 ] || [ "%(prop:rpm_type)s" = centosstream8 ]; then
if [ "%(prop:rpm_type)s" = rhel8 ] || [ "%(prop:rpm_type)s" = centosstream8 ] || [ "%(prop:rpm_type)s" = almalinux8 ] || [ "%(prop:rpm_type)s" = rockylinux8 ]; then
echo "module_hotfixes = 1" >> MariaDB.repo
fi
""",
Expand Down
3 changes: 2 additions & 1 deletion scripts/bash_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ rpm_setup_mariadb_mirror() {
[mariadb]
name=MariaDB
baseurl=$baseurl
# //TEMP following is probably not needed for all OS
# //TEMP following is not needed for all OS
# - rhel8 based OS (almalinux 8, rockylinux 8, centos 8)
module_hotfixes = 1
gpgkey=https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Expand Down

0 comments on commit 70368ae

Please sign in to comment.