[opensuse-buildservice] [PATCH] obs_mirror_project: skip -debuginfo and -debugsource packages
Hi, attachted patch skips debug packages, which are not required as base build distro. Best Regards, Daniel --- Index: dist/obs_mirror_project =================================================================== --- dist/obs_mirror_project (revision 7471) +++ dist/obs_mirror_project (working copy) @@ -63,6 +63,12 @@ # skip src and nosrc rpms inform_user_about_hacky_reget=false unless fname[-7..-1] == "src.rpm" + # skip debuginfo and debugsource packages + if fname.include? "-debuginfo" or fname.include? "-debugsource" + puts "Debug package #{fname} - skip." + next + end + if File.file?("#{destinationdir}/#{fname}") puts "package #{destinationdir}/#{fname} already exists." -- Daniel Gollub Geschaeftsfuehrer: Ralph Dehner FOSS Developer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-160 47 73 970 Handelsregister: HRB 3537 EMail: gollub@b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hey Daniel, Am Dienstag, 2. Juni 2009 16:37:41 schrieb Daniel Gollub:
Hi,
attachted patch skips debug packages, which are not required as base build distro.
Thanks, do you want commit access for comitting it yourself ? Just send me your account name via private mail and get sure that you have login once in http://developer.novell.com. thanks adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Daniel Gollub