From e387e1db898c8c14eb7136902226bc16f4481a31 Mon Sep 17 00:00:00 2001 From: Yuriy Kohut Date: Fri, 23 Aug 2024 23:27:55 +0300 Subject: [PATCH] Update ELevate vendors patch: - fix "_get_path_to_gpg_certs is not defined" issue --- SOURCES/leapp-repository-0.21.0-elevate.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SOURCES/leapp-repository-0.21.0-elevate.patch b/SOURCES/leapp-repository-0.21.0-elevate.patch index be42135..43d13a8 100644 --- a/SOURCES/leapp-repository-0.21.0-elevate.patch +++ b/SOURCES/leapp-repository-0.21.0-elevate.patch @@ -3903,7 +3903,7 @@ index 9e213f64..52cfe14f 100644 variant_id=data.get('VARIANT_ID', '').strip('"') or None ) diff --git a/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py b/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py -index 32e4527b..48633a3e 100644 +index 32e4527b..1e595e9a 100644 --- a/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py +++ b/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py @@ -152,11 +152,11 @@ def _report(title, summary, keys, inhibitor=False): @@ -3916,7 +3916,7 @@ index 32e4527b..48633a3e 100644 ' If you want to proceed the in-place upgrade without checking any RPM' ' signatures, execute leapp with the `--nogpgcheck` option.' - .format(get_path_to_gpg_certs()) -+ .format(','.format(_get_path_to_gpg_certs())) ++ .format(','.format(get_path_to_gpg_certs())) ) groups = [reporting.Groups.REPOSITORY] if inhibitor: @@ -3925,7 +3925,7 @@ index 32e4527b..48633a3e 100644 'Some of the target repositories require GPG keys that are not installed' ' in the current RPM DB or are not stored in the {trust_dir} directory.' - .format(trust_dir=get_path_to_gpg_certs()) -+ .format(trust_dir=','.join(_get_path_to_gpg_certs())) ++ .format(trust_dir=','.join(get_path_to_gpg_certs())) ) _report('Detected unknown GPG keys for target system repositories', summary, keys, True)