Browse Source

- resizerootfs.init: fix GPT at first boot

master
vanhofen 4 years ago
parent
commit
66acda9fa3
  1. 2
      skel-root/general/scripts/resizerootfs.init

2
skel-root/general/scripts/resizerootfs.init

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

Loading…
Cancel
Save