From: Jordan Woyak Date: Tue, 26 Mar 2024 01:56:06 +0000 (-0500) Subject: config: Enable ext4 journaling by default. X-Git-Tag: v6.1-20240716~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f0d24df3d287b0ccfb44e36bbc8338f024491655;p=librecmc%2Flibrecmc.git config: Enable ext4 journaling by default. Not having a journal by default is a major "gotcha". Because openwrt does not fsck on boot, a power loss without journaling can result in a dirty filesystem that openwrt will mount as read-only which requires intervention to restore the router to working order. Signed-off-by: Jordan Woyak (cherry picked from commit f9f2426e398cf74d1098ae40317bfba677ac7560) Link: https://github.com/openwrt/openwrt/pull/15898 Signed-off-by: Hauke Mehrtens --- diff --git a/config/Config-images.in b/config/Config-images.in index 5ef9702a14..90c6f8ad90 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -127,6 +127,7 @@ menu "Target Images" config TARGET_EXT4_JOURNAL bool "Create a journaling filesystem" depends on TARGET_ROOTFS_EXT4FS + default y help Create an ext4 filesystem with a journal.