Closed Pillar1989 closed 4 years ago
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!
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.
deboostrap also has support for cross-installing, but it's a bit more involved https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap
We have an --architecture switch now so I think this can be closed.
Hi I want to use mkosi create armhf rootfs image. Is there any docments about this?