Add partprobe as it might help some users

Relates to #138
This commit is contained in:
Drew Bonasera 2020-06-13 16:19:04 -04:00
parent 370e88d581
commit 574fab3e52
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ fi
function set_autoexpand() {
#Make pi expand rootfs on next boot
mountdir=$(mktemp -d)
partprobe "$loopback"
mount "$loopback" "$mountdir"
if [ ! -d "$mountdir/etc" ]; then