b4aed63dad
- Enable new upgrade path RHEL 8.10 -> 9.5 - Minor updates in reports - Add information about leapp invocation to leapp.db - Resolves: RHEL-27847
56 lines
2.5 KiB
Diff
56 lines
2.5 KiB
Diff
From a7893092361d93a34c57b3cb2f05cc4e1db418b9 Mon Sep 17 00:00:00 2001
|
|
From: Evgeni Golov <evgeni@golov.de>
|
|
Date: Thu, 16 May 2024 10:24:30 +0200
|
|
Subject: [PATCH 44/49] drop unused packager field from distro metadata
|
|
|
|
The actor was refactored to accept any `gpg-key` package, regardless of
|
|
the value in the packager field, but the data was never drop from the
|
|
JSON files.
|
|
|
|
Fixes: 4968bec73947fb83aeb2d89fe7e919fba2ca2776
|
|
---
|
|
.../libraries/distributionsignedrpmscanner.py | 1 -
|
|
.../common/files/distro/centos/gpg-signatures.json | 3 +--
|
|
.../common/files/distro/rhel/gpg-signatures.json | 3 +--
|
|
3 files changed, 2 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/repos/system_upgrade/common/actors/distributionsignedrpmscanner/libraries/distributionsignedrpmscanner.py b/repos/system_upgrade/common/actors/distributionsignedrpmscanner/libraries/distributionsignedrpmscanner.py
|
|
index 0bc71bfa..7898453b 100644
|
|
--- a/repos/system_upgrade/common/actors/distributionsignedrpmscanner/libraries/distributionsignedrpmscanner.py
|
|
+++ b/repos/system_upgrade/common/actors/distributionsignedrpmscanner/libraries/distributionsignedrpmscanner.py
|
|
@@ -16,7 +16,6 @@ def get_distribution_data(distribution):
|
|
with open(distribution_config) as distro_config_file:
|
|
distro_config_json = json.load(distro_config_file)
|
|
distro_keys = distro_config_json.get('keys', [])
|
|
- # distro_packager = distro_config_json.get('packager', 'not-available')
|
|
else:
|
|
raise StopActorExecutionError(
|
|
'Cannot find distribution signature configuration.',
|
|
diff --git a/repos/system_upgrade/common/files/distro/centos/gpg-signatures.json b/repos/system_upgrade/common/files/distro/centos/gpg-signatures.json
|
|
index 30e329ee..cf7f819d 100644
|
|
--- a/repos/system_upgrade/common/files/distro/centos/gpg-signatures.json
|
|
+++ b/repos/system_upgrade/common/files/distro/centos/gpg-signatures.json
|
|
@@ -3,6 +3,5 @@
|
|
"24c6a8a7f4a80eb5",
|
|
"05b555b38483c65d",
|
|
"4eb84e71f2ee9d55"
|
|
- ],
|
|
- "packager": "CentOS"
|
|
+ ]
|
|
}
|
|
diff --git a/repos/system_upgrade/common/files/distro/rhel/gpg-signatures.json b/repos/system_upgrade/common/files/distro/rhel/gpg-signatures.json
|
|
index eccf0106..64d9ed12 100644
|
|
--- a/repos/system_upgrade/common/files/distro/rhel/gpg-signatures.json
|
|
+++ b/repos/system_upgrade/common/files/distro/rhel/gpg-signatures.json
|
|
@@ -5,6 +5,5 @@
|
|
"938a80caf21541eb",
|
|
"fd372689897da07a",
|
|
"45689c882fa658e0"
|
|
- ],
|
|
- "packager": "Red Hat, Inc."
|
|
+ ]
|
|
}
|
|
--
|
|
2.44.0
|
|
|