mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-09 22:46:45 +00:00
Import the signing key SLE 16 media ships
Building a SUSE 16 image from SLE media failed every package with "key ID fec28eaf09d9ea69: NOKEY". Leap publishes that key as gpg-pubkey-*.asc, which the existing glob picks up; SLE publishes the same key only as repodata/repomd.xml.key, so nothing was imported. 15 media carries both spellings, so this changes nothing there.
This commit is contained in:
@@ -657,6 +657,8 @@ class SuseHandler(OsHandler):
|
||||
if source.startswith('file://'):
|
||||
gpgpath = source.replace('file://', '')
|
||||
gpgkeys.extend(glob.glob(os.path.join(gpgpath, '*/gpg-pubkey*.asc')))
|
||||
# SLE media publishes the signing key only as the repo key
|
||||
gpgkeys.extend(glob.glob(os.path.join(gpgpath, '*/repodata/repomd.xml.key')))
|
||||
subprocess.check_call(self.zypper_cmd() + ['ar', source, 'source-{}'.format(idx)])
|
||||
idx += 1
|
||||
if gpgkeys:
|
||||
|
||||
Reference in New Issue
Block a user