bsp/rootfs/files/expand_rootfs
@@ -1,4 +1,10 @@ #!/bin/sh # # Copyright (C) 2022 LingYun IoT System Studio # Author: Guo Wenxue<guowenxue@gmail.com> # # This shell script used to expand rootfs partition size to whole TF card space # set -e set -u @@ -26,6 +32,6 @@ w EOF resize2fs /dev/$ROOT_PART > /dev/null 2>&1 resize2fs /dev/$ROOT_PART > /dev/null 2>&1 echo "Expand rootfs size successfully, it will be enlarged upon the next reboot."