arm: kiwi on OBS

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

arm: kiwi on OBS

Matwey V. Kornilov
Hello,

I am running private OBS instance version 2.8
I have aarch64 based arm worker which I use to build armv7 rpm packages.
Now I am trying to build kiwi images. I copied JeOS from
openSUSE:Leap:42.2:Ports and try to rebuild it.

Unfortunately, I see the following:

[  361s] Apr-08 09:59:32 <1> : kiwi revision:
f8751719e761017db7048bd9a8ef846343c87f97
[  361s] Apr-08 09:59:32 <1> : Setting log file to: terminal
[  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
[  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
architecture 'armv8l'
[  361s] Apr-08 09:59:32 <1> : Description provides no MD5 hash, check
[  361s] Apr-08 09:59:32 <1> : Reading image description [Prepare]...
[  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
[  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
architecture 'armv8l'Apr-08 09:59:32 <3> : KIWI exited with error(s)
[  361s]
[  361s] Apr-08 09:59:32 <1> : Closing session with ecode: 1


It is clearly personality issue. Could you please tell what kind of
additional magic I need to make it work?

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: arm: kiwi on OBS

Andreas Schwab
On Apr 08 2017, "Matwey V. Kornilov" <[hidden email]> wrote:

> Unfortunately, I see the following:
>
> [  361s] Apr-08 09:59:32 <1> : kiwi revision:
> f8751719e761017db7048bd9a8ef846343c87f97
> [  361s] Apr-08 09:59:32 <1> : Setting log file to: terminal
> [  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
> [  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
> architecture 'armv8l'
> [  361s] Apr-08 09:59:32 <1> : Description provides no MD5 hash, check
> [  361s] Apr-08 09:59:32 <1> : Reading image description [Prepare]...
> [  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
> [  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
> architecture 'armv8l'Apr-08 09:59:32 <3> : KIWI exited with error(s)
> [  361s]
> [  361s] Apr-08 09:59:32 <1> : Closing session with ecode: 1
>
>
> It is clearly personality issue. Could you please tell what kind of
> additional magic I need to make it work?

Are you using kvm on the worker?

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: arm: kiwi on OBS

Matwey V. Kornilov
2017-04-08 14:28 GMT+03:00 Andreas Schwab <[hidden email]>:

> On Apr 08 2017, "Matwey V. Kornilov" <[hidden email]> wrote:
>
>> Unfortunately, I see the following:
>>
>> [  361s] Apr-08 09:59:32 <1> : kiwi revision:
>> f8751719e761017db7048bd9a8ef846343c87f97
>> [  361s] Apr-08 09:59:32 <1> : Setting log file to: terminal
>> [  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
>> [  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
>> architecture 'armv8l'
>> [  361s] Apr-08 09:59:32 <1> : Description provides no MD5 hash, check
>> [  361s] Apr-08 09:59:32 <1> : Reading image description [Prepare]...
>> [  361s] Apr-08 09:59:32 <1> : EXEC [/usr/bin/uname -m]
>> [  361s] Apr-08 09:59:32 <3> : Attempt to run KIWI on unsupported
>> architecture 'armv8l'Apr-08 09:59:32 <3> : KIWI exited with error(s)
>> [  361s]
>> [  361s] Apr-08 09:59:32 <1> : Closing session with ecode: 1
>>
>>
>> It is clearly personality issue. Could you please tell what kind of
>> additional magic I need to make it work?
>
> Are you using kvm on the worker?

No, chroot-ed

>
> Andreas.
>
> --
> Andreas Schwab, [hidden email]
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."



--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://[hidden email]
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: arm: kiwi on OBS

Andreas Schwab
On Apr 08 2017, "Matwey V. Kornilov" <[hidden email]> wrote:

> No, chroot-ed

Then you are out of luck.  There is no personality that changes armv8 to
something else.

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: arm: kiwi on OBS

Matwey V. Kornilov
2017-04-08 17:57 GMT+03:00 Andreas Schwab <[hidden email]>:
> On Apr 08 2017, "Matwey V. Kornilov" <[hidden email]> wrote:
>
>> No, chroot-ed
>
> Then you are out of luck.  There is no personality that changes armv8 to
> something else.
>

I am surprised where armv8 came from at all. uname -m says aarch64 at
the worker host.

> /usr/bin/uname -m
aarch64

--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://[hidden email]
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: arm: kiwi on OBS

Andreas Schwab
On Apr 08 2017, "Matwey V. Kornilov" <[hidden email]> wrote:

> I am surprised where armv8 came from at all.

That's the linux32 personality.

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]