Hi Qiang,

>> ExportFilter just make build script can install a different arch rpm to
build root, it will not really convert the rpm, instead build script always
>> use:

>> $ rpm --ignorearch -nodeps
I've tried but this also doesnt work. Build script doesnt see packages of
other arch.
*debug:   nothing provides qemu-linux-user-cross-arm*
*debug:   nothing provides qemu-accel-armv7l-cross-arm*

Another question - if ExportFilter works in such manner then who prepares
qemu-accel.armv7l.rpm in pre-built repo? This package explicitly has armv7l
arch but can be build only on x86/x86_64 arch. How arch of rpm can be
converted/exported?

Best regards,
Andriy.


On Mon, Mar 31, 2014 at 5:17 AM, Zhang, Qiang Z <[email protected]>wrote:

>  More information about ExportFilter:
> http://en.opensuse.org/openSUSE:Build_Service_prjconf#ExportFilter
>
>
>
> ExportFilter just make build script can install a different arch rpm to
> build root, it will not really convert the rpm, instead build script always
> use:
>
> $ rpm --ignorearch -nodeps
>
> Command to create build root env.
>
>
>
>
>
> In your case, you can just build out i686 package, that's enough. If you
> build other packages depend on qemu-accel-armv7l.arm.rpm depend gbs will
> take qemu-accel-armv7l.i686.rpm, which is set in ExportFilter.
>
> Thanks
>
> Qiang
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Andriy Prystupa
> *Sent:* Saturday, March 29, 2014 12:02 AM
> *To:* [email protected]
> *Subject:* [Tizen General] ExportFilter in local gbs build
>
>
>
> Hi all,
>
>
>
> I have to build platform/upstream/qemu-accel package and get
> qemu-accel-*.armv7l.rpm.
>
> So for this I configured export filter in conf file:
>
> *ExportFilter: ^qemu-accel-armv7l.*\.i586\.rpm$ .  armv7l*
>
>
>
> Then build qemu-accel with command:
>
> *gbs build -A i586 --debug --overwrite*
>
>
>
> Package was built successfully but I got only
> *GBS-ROOT/local/repos/tizen3.0_ivi/i586/RPMS/qemu-accel-armv7l-0.4-0.i686.rpm*
>  and
> no exported armv7l package *qemu-accel-armv7l-0.4-0.armv7l.rpm*.
>
>
>
> I was experimenting with different export filter patterns and without any
> success.
>
> Does ExportFilter works for gbs local build? Do I do something wrong in
> configuration or this feature is supported only in obs?
>
>
>
> Regards,
> --
>
> *Andriy Prystupa | SW Engineer*
> GlobalLogic
> P +x.xxx.xxx.xxxx  M +38.097.330.9412  S prandriy
> www.globallogic.com
>
> http://www.globallogic.com/email_disclaimer.txt
>



-- 

Andriy Prystupa | SW Engineer
GlobalLogic
P +x.xxx.xxx.xxxx  M +38.097.330.9412  S prandriy
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to