Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id 09F286FF0E for ; Sun, 1 Oct 2017 07:43:15 +0000 (UTC) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2017 00:43:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,463,1500966000"; d="scan'208";a="158017517" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga006.fm.intel.com with ESMTP; 01 Oct 2017 00:43:04 -0700 To: Otavio Salvador , OpenEmbedded Core Mailing List References: <20170930180655.25134-1-otavio@ossystems.com.br> <20170930180655.25134-2-otavio@ossystems.com.br> From: Alexander Kanavin Message-ID: <7738c857-3635-f56f-45fd-cd7d5b5eb82e@linux.intel.com> Date: Sun, 1 Oct 2017 10:39:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170930180655.25134-2-otavio@ossystems.com.br> Subject: Re: [PATCH 2/2] lib/oe/package_manager.py (rpm): Allow use of non-signed feeds X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 07:43:16 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 09/30/2017 09:06 PM, Otavio Salvador wrote: > When we wish to use the package feed for local development, it does > not uses GPG signed feeds by default but dnf does. We need to > configure the GPG signature check out so it works out of box. >> @@ -551,7 +551,7 @@ class RpmPM(PackageManager): > if self.d.getVar('PACKAGE_FEED_SIGN') == '1': > 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')) > else: > - gpg_opts = '' > + gpg_opts = 'gpgcheck=0\n' > Again, 'gpcheck' option has nothing to do with verifying signed package feeds. NAK. Alex