|
@ -10,6 +10,8 @@ |
|
|
|
|
|
|
|
|
if [ ! -f "/.resize-linuxrootfs" ] && [ -e "/dev/block/by-name/linuxrootfs" ] |
|
|
if [ ! -f "/.resize-linuxrootfs" ] && [ -e "/dev/block/by-name/linuxrootfs" ] |
|
|
then |
|
|
then |
|
|
|
|
|
echo "Fix GPT, Do not unplug power!..." |
|
|
|
|
|
parted /dev/mmcblk0 print ok fix |
|
|
echo "Resizing linuxrootfs partition, Do not unplug power!..." |
|
|
echo "Resizing linuxrootfs partition, Do not unplug power!..." |
|
|
resize2fs /dev/block/by-name/linuxrootfs |
|
|
resize2fs /dev/block/by-name/linuxrootfs |
|
|
touch "/.resize-linuxrootfs" |
|
|
touch "/.resize-linuxrootfs" |
|
|