when calling partprobe, add the device argument, otherwise we get noise from other random devices

Reported-by: Andreas Pretzsch <apr@cn-eng.de>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/10/merge
Robert Nelson 12 years ago
parent 46987f073a
commit b5f5a3d497

@ -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

Loading…
Cancel
Save