[yocto] apt-key not found

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri Sep 1 05:51:32 PDT 2017


On 09/01/2017 06:17 AM, yahia farghaly wrote:

> So, what the right way to do this ?

You should study how signing RPM/IPK package feeds is done in Yocto, and 
modify the code in the same way. Start from

meta/recipes-core/meta/signing-keys.bb
meta/classes/sign_package_feed.bbclass
meta/lib/oe/package_manager.py (RpmIndexer/OpkgIndexer classes)

Then modify DpkgIndexer class to use apt-key to do the signing in a 
similar way. It even has a stub:

         if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
             raise NotImplementedError('Package feed signing not 
implementd for dpkg')


Alex



More information about the yocto mailing list