Mailinglist Archive: opensuse-buildservice (348 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] [PATCH 4/6] obs-server, webui: update SPARC definitions
- From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
- Date: Tue, 13 Apr 2010 19:20:00 +0200
- Message-id: <201004131920.00950.ludwig.nussel@xxxxxxx>
Martin Mohring wrote:
Well, I guess that solution is fine if it integrates with
ABUILD_TARGET_ARCH. I'd probably rename the option to
'defaulttarget' or just 'target' instead of 'changetarget' though.
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
Ludwig Nussel wrote:
Martin Mohring wrote:Ok. Let me say it another way: Yes, it is of course a hack (and the #arm
Ludwig Nussel wrote:
There's a hack for ARM in the build script, it looks atThis is not a hack, it is due to the behavior of rpm. We found no other
'changetarget' in prjconf in order to define the target I think.
Maybe that feature could be used here too.
way working with all rpm versions to handle this. And: the problem
solved with this is not limited to ARM.
Atm it is both a hack (conflicts with ABUILD_TARGET_ARCH AFAICS) and
is limited to ARM :-)
1613 # case arm, extract changetarget
1614 # this is restricted to arm to make sure it doesn't interfere
with x86
1615 if [ "$BUILD_ARCH" != "${BUILD_ARCH#arm}" ]; then
is a hack). But how does the "solution" instead of the hack look like? I
the only solution we found is to pass in worst case the full triple to
rpm. If the implementation of this is a hack, lets fix it.
Well, I guess that solution is fine if it integrates with
ABUILD_TARGET_ARCH. I'd probably rename the option to
'defaulttarget' or just 'target' instead of 'changetarget' though.
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |