File osc-skip-verification.patch of Package osc
=== 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',