Skip to content

Commit

Permalink
Add sleep before creating filesystem
Browse files Browse the repository at this point in the history
In some computers mkfs try to creating filesystem, before kernel update partition table.
  • Loading branch information
joda17 committed Jan 10, 2015
1 parent bf42102 commit 2a6233d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tools/u-boot/files/create_sdcard
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a6233d

Please sign in to comment.