From 234c4b79371dd2f4531482e1045752de9e183a68 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 3 Jul 2017 16:39:26 +0100 Subject: [PATCH] Export-image: disable metadata_csum for compatibility with older SD card copiers --- export-image/prerun.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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