mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
sign_rpm.bbclass: do not set/use RPM_GPG_PUBKEY
This is entirely unnecessary (we can ask the signer backend to export the key to a file when needed), and was causing confusing selftest failures due to the variable being set from two different places. [YOCTO #11191] (From OE-Core rev: 74ea979044368dc28c24325e7e77471b70aa8fe8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0a435c7e6a
commit
4581e2c3e6
@@ -28,13 +28,6 @@ python () {
|
||||
for var in ('RPM_GPG_NAME', 'RPM_GPG_PASSPHRASE'):
|
||||
if not d.getVar(var):
|
||||
raise_sanity_error("You need to define %s in the config" % var, d)
|
||||
|
||||
# Set the expected location of the public key
|
||||
d.setVar('RPM_GPG_PUBKEY', os.path.join(d.getVar('STAGING_DIR_TARGET', False),
|
||||
d.getVar('sysconfdir', False),
|
||||
'pki',
|
||||
'rpm-gpg',
|
||||
'RPM-GPG-KEY-${DISTRO_VERSION}'))
|
||||
}
|
||||
|
||||
python sign_rpm () {
|
||||
|
||||
Reference in New Issue
Block a user