bug fix: on some systems umount removes dir, so make sure directory exist before calling mount

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent f488ede59e
commit 82723311a2

@ -1069,7 +1069,9 @@ function populate_boot {
echo "Populating Boot Partition"
echo "-----------------------------"
if [ ! -d ${TEMPDIR}/disk ] ; then
mkdir -p ${TEMPDIR}/disk
fi
if mount -t vfat ${MMC}${PARTITION_PREFIX}1 ${TEMPDIR}/disk; then

Loading…
Cancel
Save