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

Cross-Architecture support in mkosi: permit creating arm images from x86-64 and suchlike #138

Closed
Pillar1989 opened this issue Aug 22, 2017 · 5 comments
Labels

Comments

@Pillar1989
Copy link

Hi
I want to use mkosi create armhf rootfs image. Is there any docments about this?

@poettering
Copy link
Member

Sorry, but cross-building is something mkosi can't do for you, as it is built around dnf/debootstrap and such, and they don't support that. Sorry!

@poettering
Copy link
Member

So, as it turns out I was wrong, dnf actually supports bootstrapping non-native archs, and I think it would make a ton of sense to support this in mkosi. Hence, let's reopen this, and let's make this an RFE issue.

Adding this should be fairly straightforward implementation-wise, given the hard work is already done in dnf/qemu.

@poettering poettering reopened this Oct 20, 2017
@poettering
Copy link
Member

@poettering poettering added the RFE label Oct 20, 2017
@poettering poettering changed the title How to build armhf debian stretch on x86_64 ? Cross-Architecture support in mkosi: permit creating arm images from x86-64 and suchlike Oct 20, 2017
@fsateler
Copy link
Member

deboostrap also has support for cross-installing, but it's a bit more involved https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap

@DaanDeMeyer
Copy link
Contributor

We have an --architecture switch now so I think this can be closed.

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

No branches or pull requests

4 participants