core: Disable fscklogs for recovery

Change-Id: I87997fa1c7a3761cc1b917502ccdeca88ab75023
This commit is contained in:
LuK1337 2024-06-29 08:16:39 +02:00 committed by zlewchan
parent f4a7c0fa38
commit 6ed5f7ef3b

View file

@ -83,7 +83,11 @@
#define TUNE2FS_BIN "/system/bin/tune2fs"
#define RESIZE2FS_BIN "/system/bin/resize2fs"
#ifdef __ANDROID_RECOVERY__
#define FSCK_LOG_FILE "/dev/null"
#else
#define FSCK_LOG_FILE "/dev/fscklogs/log"
#endif
#define ZRAM_CONF_DEV "/sys/block/zram0/disksize"
#define ZRAM_CONF_MCS "/sys/block/zram0/max_comp_streams"