Mailinglist Archive: opensuse-buildservice (332 mails)

< Previous Next >
RE: [opensuse-buildservice] RE: question about package aggregate
  • From: <brook.hong@xxxxxxxxx>
  • Date: Fri, 23 Jul 2010 04:57:26 +0200
  • Message-id: <74F2BFCC65034E4BAB1856275FB128ED2732A34870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx]
Sent: Thursday, July 22, 2010 11:50 PM
Cc: opensuse-buildservice@xxxxxxxxxxxx
Subject: Re: [opensuse-buildservice] RE: question about package
aggregate

On 07/22/2010 07:43 AM, brook.hong@xxxxxxxxx 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups