Am 16.09.2013 17:22, schrieb Guillaume Gardet:
Le 16/09/2013 17:03, Stefan Seyfried a écrit :
Am 16.09.2013 16:44, schrieb Guillaume Gardet:
atftp %pre only uses groupadd/useradd and sed.
Other packages show "scriptlet failed, exit status 127" but for %post, not %pre and they are not fatal error contrary to atftp. all failing %pre are apparently fatal. I tried to "fix" atftp by adding "true" to the end of %pre, but then some other package fails.
Ok, nice info.
I'm pretty sure that the chroot inside the build-chroot where the image is built has no qemu-arm setup, but I don't know how to fix it.
But zypper is working.
Yes. But zypper is called outside the "image-chroot": osc build .... => chroots into /local/osc/images-armv6l => sets up qemu-arm => installs lots of stuff and prepares stuff => then decides to package an image => mkdir /usr/src/packages/KIWIROOT-oem => zypper in --root /usr/src/packages/KIWIROOT-oem ... => rpm %pre/%post chroots into /usr/src/packages/KIWIROOT-oem for pre/post scripts => no qemu setup there ==> BOOOOOMMM!! :-) At least that's what I suspect is happening. I'll probably just try to build the image on the raspi directly :-) -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org