From b5f5a3d49778b86bcb7e1606e2c4c5469404f0b1 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 11 Oct 2012 09:01:17 -0500 Subject: [PATCH] when calling partprobe, add the device argument, otherwise we get noise from other random devices Reported-by: Andreas Pretzsch Signed-off-by: Robert Nelson --- mk_mmc.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index a2f904c..d5febef 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1227,7 +1227,7 @@ function format_partition_error { function format_boot_partition { echo "Formating Boot Partition" echo "-----------------------------" - partprobe + partprobe ${MMC} LC_ALL=C ${mkfs} ${MMC}${PARTITION_PREFIX}1 ${mkfs_label} || format_partition_error } @@ -1269,8 +1269,7 @@ function populate_boot { echo "Populating Boot Partition" echo "-----------------------------" - partprobe - + partprobe ${MMC} if [ ! -d ${TEMPDIR}/disk ] ; then mkdir -p ${TEMPDIR}/disk fi