Skip to content

Commit eb0b37f

Browse files
committed
scripts/generate-metadata: skip gpg-pubkey rpmdb entries
Those aren't real packages so don't include it in the metadata to not add confusion.
1 parent 31816ac commit eb0b37f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/generate-metadata

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ def get_rpmdb_pkglist():
4242
rpmdb = []
4343
for line in out.splitlines():
4444
n, e, v, r, a = line.split()
45+
if n == 'gpg-pubkey':
46+
# those aren't real packages, it's just how rpm represents imported
47+
# GPG keys
48+
continue
4549
# canonicalize none to 0 to match rpm-ostree semantics
4650
if e == '(none)':
4751
e = '0'

0 commit comments

Comments
 (0)