althea-net / rita-firmware

Firmware building tool
GNU Affero General Public License v3.0
67 stars 18 forks source link

Why not lime-sdk? #28

Open nicopace opened 6 years ago

nicopace commented 6 years ago

Hi! I'm part of the the development team of Libremesh, and caught my attention that you mentioned is pretty similar, but you ended up doing yours. Would love to know what is on althea-firmware that is not in lime-sdk... perhaps adding those to the latter may mean that we end up mantaining one sdk instead of two ;) As a bonus track, if that happens, maybe even the librerouter.org will come with support for althea-mesh!

Regards,

jkilpatr commented 6 years ago

Hi @nicopace, sorry I didn't see this sooner!

I looked into forking lime-sdk or simply integrating into it and I found the build process arcane enough to be confusing. Of course it's possible that I'm simply better at Ansible than shell scripts and that changes the way I think.

Regardless I'm sure you could get to the same result using your build system but it seemed to me to be overcomplicated and hard to read, while Ansible is designed to be easily readable and run remotely (like on a build server)

Would you mind outlining how I would go adding some packages and templating config files in lime-sdk? Maybe I'm misinformed about how to do it.

nicopace commented 6 years ago

Hi @jkilpatr , thanks for replying.

Would you mind outlining how I would go adding some packages and templating config files in lime-sdk? Maybe I'm misinformed about how to do it.

It is actually quite simple. In order to customize an image you can use network profiles. You have the doc here: https://github.com/libremesh/lime-sdk#communities But, just the bare basics:

That is all! Please, don't hesitate in reaching me for any question.