growfs: Commit the changes after expanding the partition

This fix the problem in arm snapshot present since at least 6 months where
growfs was failing at firstboot and dropped you in a single user shell.
This commit is contained in:
Emmanuel Vadot 2017-11-27 15:39:11 +00:00
parent 1de7b4b805
commit b7f38d774d

View File

@ -90,6 +90,7 @@ growfs_start ()
exit 0
}
}' dev="$rawdev"
gpart commit "$rootdev"
growfs -y /dev/"$rootdev"
}