On Tue 28 Apr 2015 19:41:39 NZST +1200, Alexander Graf wrote:

Using devel:ARM:13.2:Contrib:Allwinner, how do I compile install images
locally? This doesn't work:

> cd devel:ARM:13.2:Contrib:Allwinner/JeOS-cubieboard
> osc repos
standard  armv7l
images    armv7l
> osc build images armv7l
   WARNING: native compile is not possible, an emulator must be configured!
   ...
   [    7s] running aaa_base preinstall script
   [    7s] chroot: failed to run command 'sh': Exec format error

It is obvious that osc build runs natively (x86_64) inside the target
system's armv7l chroot.

Installing qemu doesn't change that:
qemu-linux-user-2.1.0-2.9.x86_64
qemu-extra-2.1.0-2.9.x86_64
qemu-arm-2.1.0-2.9.x86_64
qemu-block-curl-2.1.0-2.9.x86_64
qemu-2.1.0-2.9.x86_64
qemu-tools-2.1.0-2.9.x86_64
osc-0.151.2-11.1.noarch

Host system is oS 13.2 x86_64.

Online suggestions of inserting qemu in the command line somewhere all
fail badly (wrong arguments). --vm-type=qemu dies over kvm.

What is the incantation to build a cubieboard image locally?
What needs to be done to only build for cubieboard (not the other dozen
arm boards too)?
Is it possible to build without re-building all the many dozen unchanged
packages included in the image?

  osc copypac -e openSUSE:Factory dracut devel:ARM:13.2:Contrib:Allwinner

Ok that's the easy bit. How does this package end up in the image then,
instead of the version that was there before?

Thanks,

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/      Please do not CC list postings to me.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to