Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unconditionally pass --target-arch to kiwi #949

Open
Vogtinator opened this issue Aug 31, 2023 · 0 comments
Open

Unconditionally pass --target-arch to kiwi #949

Vogtinator opened this issue Aug 31, 2023 · 0 comments

Comments

@Vogtinator
Copy link
Member

When building e.g. armv6l or armv7l images with kiwi, an aarch64 kernel has to be used to run on modern hardware (CPU supports 32bit userspace but not kernels). The images build fine, but the resulting binaries claim they are for "armv8l".

This is because kiwi uses platform.machine from python by default, which evaluates to armv8l in this context. It can be overridden by setting --target-arch.

OBS already supports this option, but it's only used for true cross builds (target is a non native arch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant