Using mock with gpgcheck=1

seth vidal skvidal at linux.duke.edu
Thu Feb 15 19:30:14 UTC 2007


On Thu, 2007-02-15 at 20:15 +0100, Till Maas wrote:
> Hiyas,
> 
> how can I use mock with gpgcheck enabled to build packages. When I enable it, 
> mock exits with these lines in root.log:
> 
> warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
> Public key for glibc-devel-2.4-11.i386.rpm is not installed
> 
> So somehow I need to install the gpgkeys in the rpm database that is used 
> inside the buildroot, but how?

set gpgkey=url:/to/key in the mock.cfg for each repo stanza

-sv





More information about the fedora-extras-list mailing list