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
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto