diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package_manager.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index d458a9b01d..6cbb61fd84 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -548,11 +548,13 @@ class RpmPM(PackageManager): | |||
548 | if feed_uris == "": | 548 | if feed_uris == "": |
549 | return | 549 | return |
550 | 550 | ||
551 | gpg_opts = '' | ||
551 | if self.d.getVar('PACKAGE_FEED_SIGN') == '1': | 552 | if self.d.getVar('PACKAGE_FEED_SIGN') == '1': |
552 | gpg_opts = 'repo_gpgcheck=1\n' | 553 | gpg_opts += 'repo_gpgcheck=1\n' |
553 | 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')) | 554 | 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')) |
554 | else: | 555 | |
555 | gpg_opts = '' | 556 | if self.d.getVar('RPM_SIGN_PACKAGES') == '0': |
557 | gpg_opts += 'gpgcheck=0\n' | ||
556 | 558 | ||
557 | bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", "yum.repos.d")) | 559 | bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", "yum.repos.d")) |
558 | remote_uris = self.construct_uris(feed_uris.split(), feed_base_paths.split()) | 560 | remote_uris = self.construct_uris(feed_uris.split(), feed_base_paths.split()) |