From a633641884f50fc917668cf1c8bd80d6c88297c7 Mon Sep 17 00:00:00 2001 From: Michal Hecko Date: Fri, 2 May 2025 16:29:10 +0200 Subject: [PATCH 31/37] upgrade_paths: add information about centos virtual versions Add additional field to upgrade paths for CentOS that maps CentOS versions consisting only of a major version number to corresponding RHEL versions of the form MAJOR.MINOR ("virtual version"). This information is inteded to be used by leapp to in version checks to obtain a MAJOR.MINOR version so that code written for RHEL can work as expected also on CentOS. Jira-ref: RHEL-80334 --- repos/system_upgrade/common/files/upgrade_paths.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/repos/system_upgrade/common/files/upgrade_paths.json b/repos/system_upgrade/common/files/upgrade_paths.json index 7ace7943..279e6eaa 100644 --- a/repos/system_upgrade/common/files/upgrade_paths.json +++ b/repos/system_upgrade/common/files/upgrade_paths.json @@ -21,6 +21,11 @@ "default": { "8": ["9"], "9": ["10"] + }, + "_virtual_versions": { + "8": "8.10", + "9": "9.6", + "10": "10.0" } } } -- 2.49.0