Am Samstag, 14. Juli 2012, 20:42:28 schrieb Marcus Huewe:
Hi,
I just wrote a small patch which adds the hostarch to the buildinfo if it is present in the buildconfig. Currently osc also has some codepaths which check for a hostarch element (but it was never added to the buildinfo).
Thanks, applied to master and 2.3 branch. Well, at least on my notebook, github seems not to allow pushs atm ....
Marcus
--- src/backend/bs_repserver | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/backend/bs_repserver b/src/backend/bs_repserver index 0f20f11..e06b1f9 100755 --- a/src/backend/bs_repserver +++ b/src/backend/bs_repserver @@ -2100,6 +2100,7 @@ sub getbuildinfo { $ret->{'package'} = $packid if defined $packid; $ret->{'downloadurl'} = $BSConfig::repodownload if defined $BSConfig::repodownload;; $ret->{'arch'} = $arch; + $ret->{'hostarch'} = $bconf->{'hostarch'} if $bconf->{'hostarch'}; $ret->{'path'} = $repo->{'path'} || []; my @prp = map {"$_->{'project'}/$_->{'repository'}"} @{$repo->{'path'} || []}; if ($packtype eq 'kiwi') {
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org