Skip to content

Commit ea4e14f

Browse files
grooverdanRazvanLiviuVarzaru
authored andcommitted
MDBF-1042: RHEL 8 kernel has no uring. Dep change for upgrade
For 10.6 and 10.11 Also RHEL9 of the last release didn't come from BB so had the wrong build linkage.
1 parent 299b571 commit ea4e14f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/bash_lib.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,15 @@ check_upgraded_versions() {
697697
# dependency
698698
sed -i '/mysql-selinux/d;/rpmlib(RichDependencies)/d' ./reqs-*.cmp
699699

700+
case "$ID" in
701+
rhel|almalinux|rocky)
702+
if [[ "${VERSION_ID%%.*}" =~ ^(8|9)$ ]] && [ "${major_version%%.*}" == 10 ]; then
703+
sed -i '/libaio.so/d;/liburing.so/d;/libaio1/d' ./reqs-*.cmp
704+
sed -i '/libaio.so/d;/liburing.so/d' ./ldd-*.cmp
705+
fi
706+
;;
707+
esac
708+
700709
# Remove after Q4 2025 release - MDEV-37600 - 11.4 onwards
701710
sed -i '/auth_mysql_sha2.so/,/^\===/ { /^\===/!d; /auth_mysql_sha2.so/d }' ./ldd-*.cmp
702711
sed -i '/caching_sha2_password/d' ./plugins.*.cmp

0 commit comments

Comments
 (0)