Thanks Pavol. I mean the command "rpmbuild -ba somepackage.spec". Either webui or osc passes a -debug option to the build script, which generates relevant macros for rpmbuild. Then rpmbuild generates those debuginfo and debugsource packages. Adrian, the aggregatepac operation does copy the debuginfo and debugsource packages to target, here I added one line to skip them when nosources flag is set. diff --git a/src/backend/bs_sched b/src/backend/bs_sched index 5ef13bb..8392049 100755 --- a/src/backend/bs_sched +++ b/src/backend/bs_sched @@ -2906,6 +2906,7 @@ sub rebuildaggregate { next unless $r->{'source'}; next if $abinfilter && !$abinfilter->{$r->{'name'}}; next if $jobbins{$r->{'name'}}; + next if ($copysources == 0) && ($r->{'name'} =~ /-debug(info|source)/); $jobbins{$r->{'name'}} = 1; my $basename = $abin; $basename =~ s/.*\///; ---------------- Best Regards, Brook Hong
-----Original Message----- From: ext Pavol Rusnak [mailto:prusnak@opensuse.org] Sent: Thursday, July 22, 2010 11:50 PM Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] RE: question about package aggregate
On 07/22/2010 07:43 AM, brook.hong@nokia.com wrote:
Thanks for pointing out the setting, stephan.
But I still wonder why no debuginfo package gets generated when running rpmbuild from shell. BTW, anyone know how to get debugsource package generated?
osc build --debuginfo
-- Best Regards / S pozdravom,
Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org