I have used 16 GB SD card to create a custom image from ubuntu server. I wanted to enable resizing boot partition at first boot whenever it is flashed on another SD card (e.g. if I flashed it to 32 GB SD Card).
I have seen some files /etc/FIRST_BOOT
and resize-helper
, but I don’t know how to enable it.
I know that if FIRST_BOOT
then rockchip-fstab
is installed which is written in /etc/rc.local
.