Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] cross-compilation in OBS - analysis
  • From: Ulrich Hecht <uli@xxxxxxx>
  • Date: Thu, 29 Nov 2007 12:45:05 +0100
  • Message-id: <200711291245.06946.uli@xxxxxxx>
On Wednesday 28 November 2007, Stanislav Brabec wrote:
2.2a.1a Use rpm --noscripts. Nobody knows, what will happen, but one
could expect, that the package will be still usable for compilation.
It is obvious, that the target sysroot will not be usable by emulators
directly.

2.2a.1b Use virtual host for installation. You will get a perfect
image of the target system, but it is expected to be much slower.

Obviously 2.2a.1a is the only acceptable solution.

Actually, all you need to do is to copy a QEMU userspace emulator into
the sysroot and set up binfmt_misc appropriately, and the scripts should
work just fine. There will of course be ways to break this, but usually
pre/post scripts do not do anything complicated or expensive.

CU
Uli

--
Heute ist
- Tag der Befreiung (in Albanien)
- Tag der nationalen Einheit (in Vanuatu)
- W. Tubmans Geburtstag (in Liberia)

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References