OOB - can we teach imgcreator about our arm arch?

Jon Nettleton jon.nettleton at gmail.com
Thu Jun 9 18:39:53 EDT 2011


On Thu, Jun 9, 2011 at 3:36 PM, Peter Robinson <pbrobinson at gmail.com> wrote:
> On Thu, Jun 9, 2011 at 10:52 PM, Martin Langhoff
> <martin.langhoff at gmail.com> wrote:
>> Hi Daniel, Peter, list
>>
>> I am wondering how we can teach imgcreator about our ARM arch, so that
>> it can build an image with some arm5tel packages and some armv7l
>> packages (such as the kernel).
>
> If we do something like run imgcreator as armv7l it should just work,
> this might not work if its run on koji2/koji3 due to them only being
> v5tel
>
>> Today I discovered that rpm itself is complaining about installing a
>> kernel armv7l package -- in a lousy hack in a preimage script,
>> probably because uname reports that the (build)host is arm5tel. We'll
>> probably have to teach rpm about this as well.

Anyway we can get around this by have the Image Builder call setarch?

This is basically how mock gets around the issue I believe.

Jon



More information about the Devel mailing list