From 007c887d88380b25a40750719a10db766a8bf786 Mon Sep 17 00:00:00 2001 From: Tero Heikkinen Date: Thu, 16 Apr 2026 08:25:19 +0300 Subject: [PATCH] Take RHEL 10.0 specific release subdirectory into use To fix - Release lock --set=10.0 doesn't work with internal repo - Also locks epel repo to same release version 10.0 Other notes: 7zip is downgraded from 25.01-1.el10_1 to 24.09-4.el10_0. As a result, the snld switch (introduced in 7zip 25.01) is no longer required. Pick-to: 6.11 Task-number: QTQAINFRA-7817 Task-number: QTQAINFRA-7614 Change-Id: Ib2daed8cbb6d53e593cb0c835b0cbc4b40fa5f9d Reviewed-by: Ville-Pekka Karhu --- .../03-enable-repos.sh | 27 +++++++++++++------ .../05-libclang-dyn.sh | 2 +- .../05-libclang.sh | 2 +- .../30-install_icu.sh | 4 +-- 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/coin/provisioning/qtci-linux-RHEL-10.0-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-10.0-x86_64/03-enable-repos.sh index 226ff797..751d9a06 100755 --- a/coin/provisioning/qtci-linux-RHEL-10.0-x86_64/03-enable-repos.sh +++ b/coin/provisioning/qtci-linux-RHEL-10.0-x86_64/03-enable-repos.sh @@ -22,13 +22,15 @@ sudo subscription-manager release --list # Do not update Tier 1 via GUI without using this same --set # - To avoid System to have newer packages than RPMS which will cause update issues +# - Note! This will only work with RHEL official RPMs - Not with internal repo clones sudo subscription-manager release --set=10.0 sudo yum clean all +# Internal repo-clones must have exact release numbers to lock packages correctly sudo tee "/etc/yum.repos.d/local.repo" > /dev/null < /dev/null <