mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/mkimage: use fsck.fat to check FAT partition
fsck.fat is available in toolchain, so use that instead of fsck from build host (which may not support checking FAT filesystems). Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
601647f314
commit
65beb0f276
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user