From 2a6233d5078090fb695fcc6823ad364b81b579ae Mon Sep 17 00:00:00 2001 From: joda17 Date: Sat, 10 Jan 2015 16:24:50 +0100 Subject: [PATCH] Add sleep before creating filesystem In some computers mkfs try to creating filesystem, before kernel update partition table. --- packages/tools/u-boot/files/create_sdcard | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/tools/u-boot/files/create_sdcard b/packages/tools/u-boot/files/create_sdcard index ce696ad202..8e994e0a4d 100755 --- a/packages/tools/u-boot/files/create_sdcard +++ b/packages/tools/u-boot/files/create_sdcard @@ -207,7 +207,8 @@ echo "#########################################################" # tell kernel we have a new partition table echo "telling kernel we have a new partition table..." partprobe "$DISK" - + sleep 1 + # create filesystem echo "creating filesystem on $PART1..." mkfs.vfat "$PART1" -I -n System