From b7f38d774d4db332c000c19b1d8f7178315284d6 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Mon, 27 Nov 2017 15:39:11 +0000 Subject: [PATCH] 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. --- etc/rc.d/growfs | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/rc.d/growfs b/etc/rc.d/growfs index b7894559b8c3..9b69eb6b3520 100755 --- a/etc/rc.d/growfs +++ b/etc/rc.d/growfs @@ -90,6 +90,7 @@ growfs_start () exit 0 } }' dev="$rawdev" + gpart commit "$rootdev" growfs -y /dev/"$rootdev" }