Hi,

I'm trying to build a modified kiwi image for Cubieboard (forked from devel:ARM:12.3:Contrib:sunxi/JeOS-cubieboard). When I try to build it, it gives me the following error:

[   39s] running aaa_base preinstall script
[   39s] chroot: failed to run command 'sh': Exec format error
[   39s] running aaa_base postinstall script
[   39s] chroot: failed to run command 'sh': Exec format error
[   39s] running qemu-accel-armv7hl postinstall script
[   39s] chroot: failed to run command 'sh': Exec format error
[   39s] initializing rpm db...
[   39s] chroot: failed to run command 'rpm': Exec format error

At first i thought that qemu was incorrectly setup, but after some tests I think everything is OK. For example, I can execute a "hello world" test program compiled in arm just fine from the command line:

oscar@gardenia:~> file hello_world-arm-static
hello_world-arm-static: ELF 32-bit LSB executable, ARM, version 1, statically linked, for GNU/Linux 2.6.9, stripped
oscar@gardenia:~> ./hello_world-arm-static
-->Hello world using ARM!

Any ideas for whats happening here?
--
Cheers
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to