mirror of
https://github.com/peridotbuild/pv2.git
synced 2025-01-05 00:50:54 +00:00
pgp keys can go in lookaside
This commit is contained in:
parent
022d4ed03a
commit
655a580afd
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,11 @@ class Import:
|
|||
magic = fileutil.get_magic_file(full_path)
|
||||
if magic.name == 'empty':
|
||||
continue
|
||||
# PGP public keys have been in the lookaside before. We'll
|
||||
# just do it this way. It gets around weird gitignores and
|
||||
# weird srpmproc behavior.
|
||||
if 'PGP public' in magic.name:
|
||||
source_dict[f'SOURCES/{file.name}'] = fileutil.get_checksum(full_path)
|
||||
if magic.encoding == 'binary':
|
||||
source_dict[f'SOURCES/{file.name}'] = fileutil.get_checksum(full_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue