Move the fs errors -> panic to the mount options
Previously, we used mkfs options to ensure that the ext4 filesystem
paniced the kernel upon a serious error. With RAUC, we no longer have a
direct control over how the filesystem is created.
This patch ensures that we panic via the mount options instead of mkfs
options. That way we can ensure that this preference is respected no
matter how the FS image was created.
Change-Id: Ie83b299a80960f6ad9e23fdd86552706c71515a4
diff --git a/board/czechlight/common/mk-empty-cfg-fs.sh b/board/czechlight/common/mk-empty-cfg-fs.sh
index 90966c7..f4cbe1a 100755
--- a/board/czechlight/common/mk-empty-cfg-fs.sh
+++ b/board/czechlight/common/mk-empty-cfg-fs.sh
@@ -2,4 +2,4 @@
CFG_FS=${BINARIES_DIR}/cfg.ext4
rm -f ${CFG_FS}
-${HOST_DIR}/sbin/mkfs.ext4 -L cfg -O ^64bit -e panic ${CFG_FS} 256M
+${HOST_DIR}/sbin/mkfs.ext4 -L cfg ${CFG_FS} 256M