Mailinglist Archive: opensuse-buildservice (314 mails)

< Previous Next >
Re: [opensuse-buildservice] osc build & sign keys
  • From: Michael Wolf <maw@xxxxxxxxxx>
  • Date: Thu, 24 Jan 2008 12:24:11 -0600
  • Message-id: <1201199051.18440.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

On Thu, 2008-01-24 at 18:38 +0100, Dr. Peter Poeml wrote:
Hi,

when building locally with osc, I just ran into this:

The following package could not be verified:
/var/cache/osbuild/Apache/SLE_10/i586/libGeoIP-devel-1.4.4-1.1.i586.rpm:
(SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#09ca02b0)

What's the plan to handle this?

The attached patch is the workaround I'm using for now. Not ideal, but
better than being unable to get anything done at all.


=== modified file 'osc/build.py'
--- osc/build.py 2008-01-23 15:44:53 +0000
+++ osc/build.py 2008-01-23 15:49:01 +0000
@@ -355,9 +355,13 @@
"""don't know how to verify .deb packages. They are verified on install
anyway, I assume... verifying package now saves time though, since we
don't
even try to set up the buildroot if it wouldn't work."""
-
- print 'Verifying integrity of cached packages'
- verify_pacs([ i.fullfilename for i in bi.deps ])
+
+ if not opts.no_verify:
+ print 'Verifying integrity of cached packages'
+ verify_pacs([ i.fullfilename for i in bi.deps ])
+ else:
+ print "Skipping cached package verification step"
+

print 'Writing build configuration'


=== modified file 'osc/commandline.py'
--- osc/commandline.py 2008-01-23 15:45:13 +0000
+++ osc/commandline.py 2008-01-23 15:50:10 +0000
@@ -1308,6 +1308,8 @@
help="Don't use cached buildinfo even if it exists")
@cmdln.option('--offline', action='store_true',
help="Don't phone home for building; instead use cached data
if it exists")
+ @cmdln.option('--no-verify', action='store_true',
+ help="Don't verify downloaded dependency packages")
@cmdln.option('--noinit', '--no-init', action='store_true',
help='Skip initialization of build root and start with build
immediately.')
@cmdln.option('-p', '--prefer-pkgs', metavar='DIR', action='append',

< Previous Next >
Follow Ups
References