diff --git a/scripts/mkimage b/scripts/mkimage index 953026afb1..9a9f291a71 100755 --- a/scripts/mkimage +++ b/scripts/mkimage @@ -286,7 +286,7 @@ SYSTEM_PART_COUNT=$(( ${SYSTEM_PART_END} - ${SYSTEM_PART_START} + 1 )) sync dd if="${DISK}" of="${LE_TMP}/part1.fat" bs=512 skip="${SYSTEM_PART_START}" count="${SYSTEM_PART_COUNT}" conv=fsync >"${SAVE_ERROR}" 2>&1 || show_error echo "image: checking filesystem on part1..." -fsck -n "${LE_TMP}/part1.fat" >"${SAVE_ERROR}" 2>&1 || show_error +fsck.fat -n "${LE_TMP}/part1.fat" >"${SAVE_ERROR}" 2>&1 || show_error # create virtual image if [ "${PROJECT}" = "Generic" ]; then