RPM Community Forums

Mailing List Message of <rpm-devel>

RE: reference implementation

From: Hatle, Mark <mark.hatle@windriver.com>
Date: Mon 04 Jun 2007 - 21:22:00 CEST
Message-ID: <EBFDFFB87BB22F4AB1B801A86BB41BC70B83C9@ala-mail02.corp.ad.wrs.com>
QEMU, can't emulate EABI and/or NPTL on ARM.. (or couldn't last I looked...)

So you end up having to boot into an ARM environment in QEMU for it to work.  (This is why I keep saying QEMU isn't a reasonable environment for cross scriptlets..  replacing w/ lua or some other mechanism is the only reasonable way I can see to do this.)

At MV we used to run the scriptlets in the host context during an install.. here at WR, we just disable the scriptlets and have some external things do many of those actions.  (We'd obviously like to get rid of the external "things", and replace w/ internal Lua!)

--Mark


-----Original Message-----
From: rpm-devel-owner@rpm5.org on behalf of Jeff Johnson
Sent: Mon 6/4/2007 2:15 PM
To: rpm-devel@rpm5.org
Subject: Re: reference implementation
 

On Jun 4, 2007, at 12:40 PM, Mark Hatle wrote:

> Jeff Johnson wrote:
...
>
> My suggestion as well is ARM, simply because it's fairly common,  
> easy to
> get a cross compiler environment for, and QEMU supports it very  
> robustly.
>

I am pretty close to being able to run build scriptlets under qemu,
shopping Guinea pigs for that exercise for a couple years now.

I was trying user mode qemu, and ran into issues with binfmt.

I'm almost certain that qemu/arm running build scriptlets
within  a system image could be knocked out
in a weekend or so.

73 de Jeff

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org
Received on Mon Jun 4 21:23:57 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.