[OE-core] [PATCH v3] lib/oe/package_manager.py (rpm): Allow use of non-signed packages

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Oct 2 14:53:31 UTC 2017


On 10/02/2017 05:52 PM, Otavio Salvador wrote:

> @@ -551,6 +551,8 @@ class RpmPM(PackageManager):
>           if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
>               gpg_opts = 'repo_gpgcheck=1\n'
>               gpg_opts += 'gpgkey=file://%s/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-%s-%s\n' % (self.d.getVar('sysconfdir'), self.d.getVar('DISTRO'), self.d.getVar('DISTRO_CODENAME'))
> +        elif: self.d.getVar('RPM_SIGN_PACKAGES') == '0':
> +            gpg_opts = 'gpgcheck=0\n'
>           else:
>               gpg_opts = ''

Still wrong! I'm kind of getting tired though. Can you figure it out for 
yourself, this time?

Alex




More information about the Openembedded-core mailing list