Hi Mariusz,

Am 13.01.2015 um 01:09 schrieb Mariusz Fik:
> How to setup osc to build
> arm packages? This is what I've done so far:
> Installed qemu-linux-user, kvm, qemu-kvm packages.
> In ~/.oscrc  build-type = qemu

That should not be necessary. By default we locally build in a chroot,
not in QEMU.

> According to wiki page[1] I should run osc with --alternative-project
> switch, so I run:
> osc build --alternative-project=openSUSE:Factory:ARM qemu armv7l
> u-boot-odroid-c1.spec

Take a look at
https://build.opensuse.org/project/show/openSUSE:Factory:ARM - "qemu"
repo only has no succeeded packages for armv7l, so the correct repo to
use is "standard".

> [    7s] [    2.597593] Hardwarname: QEMU Standard PC (i440FX + PIIX,
> 1996), BIOS rel-1.7.5-0-ge51488c-20141015_183547-build31 04/01/2014

This screams qemu-system-x86_64. qemu is not a build type that's widely
tested for armv7l on x86_64. Instead we use qemu-arm[-binfmt], which in
addition to installing the package needs to be setup for binfmt usage
via the provided script.

Cheers,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to