An rpi-image-gen tutorial on using raspi-config to ensure the entire disk is utilized on first boot.
This is really very easy to do. I've included a bit of detail on how rpi-image-gen uses genimage to build images, and why the resulting image is a fixed size.
Find the complete code sample at https://github.com/jonnymacs/rpi-auto...