[OE-core] [PATCH] package_manager.py: Skip gpgcheck while using dnf on target

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Apr 5 09:22:27 UTC 2018


On 04/04/2018 09:27 PM, Manjukumar Harthikote Matha wrote:
>> diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
>> index e006dc6..9f22fb0 100644
>> --- a/meta/lib/oe/package_manager.py
>> +++ b/meta/lib/oe/package_manager.py
>> @@ -674,7 +674,7 @@ class RpmPM(PackageManager):
>>               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'))
>>
>> -        if self.d.getVar('RPM_SIGN_PACKAGES') == '0':
>> +        if self.d.getVar('RPM_SIGN_PACKAGES') != '1':
>>               gpg_opts += 'gpgcheck=0\n'
>>
>>           bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", "yum.repos.d"))
>> --
> 
> Any feedback/concerns on this patch?

Generally we don't positively acknowledge patches, as it would create 
too much traffic on the mailing list. If no one said anything so far, 
then no one has concerns. Also, have a little patience please.

Alex



More information about the Openembedded-core mailing list