On 08/29/2017 08:38 PM, yahia farghaly wrote:
I am building a linux image using yocto which support deb package
manager(apt-get). I created the repo with packages and i want to
authorize this repo to my target machine. i followed these steps
<https://help.ubuntu.com/community/CreateAuthenticatedRepository> for
that purpose. I created the keyFile successfully for the server (host).
and when transfer this keyFile to my target and execute apt-key add
keyFile, it promotes me the error
/usr/bin/apt-key: line 352: comm: command not found
i use yocto pyro 17.0.1 and i built for core-image-sato plus adding the
recipe gnupg which exist in meta/recipes-support/gnupg
Why this error ? and possible ways to fix it ?
Signing and authenticating .deb repositories is not supported or tested
in Yocto. Do not take Ubuntu instructions for it, they are not relevant
and not likely to work.
You can use .deb repostories without having them signed, or you can
switch to rpm packaging (and master branch) where signing should work.
Or you can figure out where that error comes from and fix it and create
a patchset, but it's up to you to do the investigation and fixing.
Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto