parent
370e88d581
commit
574fab3e52
|
@ -69,6 +69,7 @@ fi
|
||||||
function set_autoexpand() {
|
function set_autoexpand() {
|
||||||
#Make pi expand rootfs on next boot
|
#Make pi expand rootfs on next boot
|
||||||
mountdir=$(mktemp -d)
|
mountdir=$(mktemp -d)
|
||||||
|
partprobe "$loopback"
|
||||||
mount "$loopback" "$mountdir"
|
mount "$loopback" "$mountdir"
|
||||||
|
|
||||||
if [ ! -d "$mountdir/etc" ]; then
|
if [ ! -d "$mountdir/etc" ]; then
|
||||||
|
|
Loading…
Reference in New Issue