Hi - I’m running a YOCTO build of resin-os for raspberrypi3 using the barys script. I’m trying to get my own supervisor image loaded and automatically started. The first part works great - the image makes it to the sdcard image, but no container is created.
Example: having a connectable image with services disabled and custom docker image preloaded - add/set RESIN_CONNECTABLE_ENABLE_SERVICES = “0”, TARGET_REPOSITORY = “mycustomimage” and TARGET_TAG = “1.0” to build’s local.conf.
So you don’t need to set SUPERVISOR_REPOSITORY and SUPERVISOR_TAG and in addition you need to set RESIN_CONNECTABLE_ENABLE_SERVICES
Thanks - I’ve tried that. Unfortunately, no container is created when I startup the board… Am I correct in deducing that the automatic creation of the resin_supervisor image is tied to RESIN_CONNECTABLE_ENABLE_SERVICES flag?
If that is the case, how do I get my own supervisor image installed and running as a container?
The mentioned pull request took a different direction, so I ended up making a customized YOCTO build. I disabled the resin services and added my own layer that spins up my own supervisor.