From 87f27085cc1c883309e32f0d494dbbdb618ec6c4 Mon Sep 17 00:00:00 2001 From: Nikhil Jha Date: Feb 18 2020 22:54:17 +0000 Subject: introduce race condition --- diff --git a/02-install-rootfs.sh b/02-install-rootfs.sh index 13e9849..44454c4 100644 --- a/02-install-rootfs.sh +++ b/02-install-rootfs.sh @@ -53,6 +53,8 @@ then infecho "Mounting SD Card rootfs..." partprobe -s $PP_SD_DEVICE + blockdev --rereadpt $PP_SD_DEVICE + sleep 1 # Sometimes it lags. mount $PP_PARTB rootfs infecho "Copying files..."