I have no issues with the takeover process. I successfully get the raw image, gzip it, copy to device and run the takeover script. After several minutes the process is over and it is connected to my server.
My question is about setting some uEnv.txt variables in the image before I run the takeover script. Specifically I want the following
enable_uboot_overlays=1
disable_uboot_overlay_video=1
enable_uboot_cape_universal=1
When I mounted the image, I could see that there is a a file called extra_uEnv.txt (could not find much information about this). However editing this, gziping the image and running the takeover script seems to create some issues because the device never connects to the server. I would prefer to not deploy the dev image and then ssh into the device and make the changes.
So how can I create an image with these uEnv.txt variables before I use the takeover script? If it helps the device is a BeagleBone Black and my server is an openBalena instance.