I want to make it easier to hack on the code that makes up a HestiaPi. In particular, I want automated testing, the ability to easily build an image from source, and so forth.
This should make it easier to make a change and ensure that it didn’t break anything. Maybe the change is a newer version of OpenHAB, updating to the latest Debian release, or removing things that don’t need to be there.
Qemu can emulate a raspberry pi, and that works well enough. I have an expect script to boot up an image, log in, change the default credentials, and then enable SSH. From there, all activities can be done over SSH. This will allow writing a setup script that should work on the VM or on hardware.
It’s been probably a year since I touched that code, but I would like to get back to it. The goal was to have it be useful for any raspberry pi based project, not just the HestiaPi.
So my main questions right now are: what are other people using for development? Install it on hardware? How do you make sure your changes will work on a fresh system (e.g., make sure you didn’t leave anything out from a commit)?