mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-23 13:41:26 +00:00
pgp keys can go in lookaside
This commit is contained in:
parent
022d4ed03a
commit
655a580afd
@ -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 New Issue
Block a user