[opensuse-arm] emulator.sh script for OBS for ARMv7 + qemu
moin, i'm setting up a private instance of OBS to compile ARMv7 binaries within qemu-arm (on an x86_64 machine). As i unterstand, i have to provide a custom emulator.sh script for build, i.e. replace/edit this https://github.com/openSUSE/obs-build/blob/master/emulator/emulator.sh I couldnt find any documentation on the specific role of that script (other than "it starts up the emulator"). Can somebody point me to some documentation or maybe even provide me with an emulator.sh script that starts up qemu with the correct parameters? Is there any other documentation on how to setup OBS+QEMU for ARM? I found some old concepts in the wiki, some slides and some stuff on the maemo site, but it all seems rather outdated... I'd appreaciate any pointers you could give me... Thanks in advance! :) tty, axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Axel Theilmann <honx@dudelab.org> writes:
i'm setting up a private instance of OBS to compile ARMv7 binaries within qemu-arm (on an x86_64 machine).
As i unterstand, i have to provide a custom emulator.sh script for build,
No, you only need that if you want to build with a full-system emulator. QEMU builds are emulating user-space only and are supported out of the box. You only need to make sure that the qemu-linux-user package (x86-64 flavor) is present in the build environment, see osc meta prjconf openSUSE:Factory:ARM for hints. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
moin, ah, thanks a lot for the quick reply! I'll try that! :) tty, axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
moin,
ah, thanks a lot for the quick reply! I'll try that! :)
jupp, it worked. my prjconf still needs a little tunung but i now have nice ARM-RPMs on my OBS... next stop: building kiwi configs... tty, axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Axel Theilmann