kairos-io / kairos

:penguin: The immutable Linux meta-distribution for edge Kubernetes.
https://kairos.io
Apache License 2.0
1.01k stars 88 forks source link

Support armbian #2021

Open fafarun opened 7 months ago

fafarun commented 7 months ago

Is your feature request related to a problem? Please describe.

I want to manage other ARM board With kairos like orange pi. It would be useful to manage the os Armbian with kairos.

Describe the solution you'd like

a new image kairos base on Armbian

Describe alternatives you've considered

Additional context

I would like to try to integer this os, but I don't know where I need to start this job.

mauromorales commented 7 months ago

Hi @fafarun thanks for the suggestion and for the interest to contribute. I think there are mainly two components which you would need to use. The building of the container image, which maybe all you need to do is to pass the armbian base image. https://github.com/kairos-io/kairos/blob/master/images/Dockerfile.debian#L5

But you might need to extend it so that it can understand how to deal with the board e.g.: https://github.com/kairos-io/kairos/blob/master/images/Dockerfile.debian#L132-L133

Then, you probably also need to extend the osbuilder so it can produce an img for this board e.g.: https://github.com/kairos-io/osbuilder/blob/master/tools-image/arm/boards/rpi4.sh

I hope that helps to get you started.

areitz86 commented 6 months ago

Oh, I love this one. I'll put it on my list. Maybe I can put some time into this next year.