|
|
@ -372,7 +372,7 @@ NUM_MOUNTS=$(mount | grep -v none | grep "$MMC" | wc -l)
|
|
|
|
sudo umount ${DRIVE} &> /dev/null || true
|
|
|
|
sudo umount ${DRIVE} &> /dev/null || true
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
sudo parted -s ${MMC} mklabel msdos
|
|
|
|
sudo parted --script ${MMC} mklabel msdos
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function create_partitions {
|
|
|
|
function create_partitions {
|
|
|
@ -383,8 +383,6 @@ p
|
|
|
|
1
|
|
|
|
1
|
|
|
|
1
|
|
|
|
1
|
|
|
|
+64M
|
|
|
|
+64M
|
|
|
|
a
|
|
|
|
|
|
|
|
1
|
|
|
|
|
|
|
|
t
|
|
|
|
t
|
|
|
|
e
|
|
|
|
e
|
|
|
|
p
|
|
|
|
p
|
|
|
@ -393,6 +391,8 @@ END
|
|
|
|
|
|
|
|
|
|
|
|
sync
|
|
|
|
sync
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo parted --script ${MMC} set 1 boot on
|
|
|
|
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "Formating Boot Partition"
|
|
|
|
echo "Formating Boot Partition"
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|