2024-03-12, 11:07 AM
(2024-03-11, 07:03 PM)BlackSea Wrote: hi @mairas
it's not difficult
1. you clone a pi-gen repository of openplotter https://github.com/openplotter/pi-gen ( there are many branches. eg openplotter64 -> OP4, bullseye-arm64 -> OP3)
2. You install required packages. You find info in README
3. It is best to define stage7, for example
[...]
P.S. If you would like to bring SH-RPi also to AvNav Headless please contact me via PM
Thanks! I actually figured that much already when looking at the openplotter64 branch contents. You're right, it's not difficult. I'll just be using Docker/Podman for building to maintain a consistent build environment (and also for building on a Mac...). That would also allow moving the builds to a CI pipeline.
I wasn't aware of the AvNav images. Cool stuff!
Regarding the SH-RPi daemon, its installer script is messy and not suited for this kind of use. The script not only installs the Python package but also interactively sets up I2C settings, CAN interfaces etc. I'm thinking of publishing the Python package to PyPi and pulling the package from there to the installer. Any other settings should probably be done separately in pi-gen scripts. Does this sound like a sensible plan to you?