Automatic resizing of the SDCard#
By default the boot medium will be extended to cover the space of the physical medium. If you do not want that, you can deactivate the feature.
From the base image#
run on the device
$ echo "SIMPLESWITCH_SDCARD_NOGROW=1" >> /etc/hw-info
From Yocto#
By setting HW_INFO_VARS = "SIMPLESWITCH_SDCARD_NOGROW=1"
in your local.conf
the container
partition will
be resized to the maximum available size of the boot medium.