I'm preparing an image for download based on Raspbian. I can resize the partition manually using
raspi-config. However, I'd prefer this to be automatic during first boot (maybe with a timeout for cancelling if such is possible).
Apparently BerryBoot is able to do this automatically- would appreciate a hint how this is done.