aboutsummaryrefslogtreecommitdiffstats
path: root/export-image/prerun.sh
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-07-03 16:39:26 +0100
committerSerge Schneider <[email protected]>2017-07-03 16:40:23 +0100
commit234c4b79371dd2f4531482e1045752de9e183a68 (patch)
treedd736b4cc54f2ddde0db77bbf610950f0cef0fa3 /export-image/prerun.sh
parentbe2018ee5f1a25ab5409fe8a9058e195494e074e (diff)
Export-image: disable metadata_csum for compatibility with older SD card copiers
Diffstat (limited to 'export-image/prerun.sh')
-rwxr-xr-xexport-image/prerun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/prerun.sh b/export-image/prerun.sh
index 34a6d78..a639c9c 100755
--- a/export-image/prerun.sh
+++ b/export-image/prerun.sh
@@ -51,7 +51,7 @@ echo "/boot: offset $BOOT_OFFSET, length $BOOT_LENGTH"
echo "/: offset $ROOT_OFFSET, length $ROOT_LENGTH"
mkdosfs -n boot -F 32 -v $BOOT_DEV > /dev/null
-mkfs.ext4 -O ^huge_file $ROOT_DEV > /dev/null
+mkfs.ext4 -O ^metadata_csum,^huge_file $ROOT_DEV > /dev/null
mount -v $ROOT_DEV ${ROOTFS_DIR} -t ext4
mkdir -p ${ROOTFS_DIR}/boot