[meego-packaging] [meego-commits] 6804: Changes to Tools:Building/osc

Nashif, Anas anas.nashif at intel.com
Thu Aug 19 02:31:42 PDT 2010


On 2010-08-19, at 10:12 AM, Jian-feng Ding wrote:

>>> +diff -rupN osc-0.128.orig/osc/build.py osc-0.128/osc/build.py
>>> +--- osc-0.128.orig/osc/build.py        2010-07-16 21:57:28.000000000 +0800
>>> ++++ osc-0.128/osc/build.py     2010-07-21 16:17:51.446153770 +0800
>>> +@@ -819,13 +819,14 @@ def main(apiurl, opts, argv):
>>> +         sys.exit(0)
>>> +
>>> +     print 'Running build'
>>> +-    cmd = '"%s" --root="%s" --rpmlist="%s" --dist="%s" %s --arch=%s
>>> %s %s "%s"' \
>>> ++    cmd = '"%s" --root="%s" --rpmlist="%s" --dist="%s" %s
>>> --target=%s --arch=%s %s "%s" %s' \
>>> 
>>> 
>>> in this chunk, if memory serves me well, --target argument of "build"
>>> would be directly passed to rpmbuild.
>>> For ARM setup of OBS it means it will be passing "armv7el" or
>>> "armv5el" as parameter, and those strings can't be reconginzed by RPM,
>>> as they are OBS specifics.  Have you at all tested "osc build " after
>>> that change with arm pacakges ?
>> Sorry, not tested with arm packages yet, but I'll do it at once, thanks for your reminding.
> 
> Tried to local build arm packages, but blocked by many issues.
> As Austin Zhang told me, it need many extra packages from openSUSE.org and being installed 
> manually. It seems there's a long way to make it work, so I suggest we support arm packages'
> local building later.

No laters, this works and only needs setup of the host system. Please make sure it works when you are making changes.

Anas


> 
> - jf.ding
> _______________________________________________
> Meego-commits mailing list
> Meego-commits at meego.com
> http://lists.meego.com/listinfo/meego-commits

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the MeeGo-packaging mailing list