From: Tomasz Maciej Nowak Date: Mon, 29 Aug 2022 14:22:18 +0000 (+0200) Subject: kernel: load FAT filesystem drivers before mount_root X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c4cd857851b010eab73fdefd4ada6b23f6eb048;p=openwrt%2Fstaging%2Fjow.git kernel: load FAT filesystem drivers before mount_root Devices using GPT usually have FAT filesystem on boot partition and that's where the intermediary backup of system configuration is stored on sysupgrade. Automatic restoring of OpenWrt configuration after sysupgrade will be inhibited if the driver is not loaded and file system type is not specified in mount command. Signed-off-by: Tomasz Maciej Nowak --- diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 0e4c0c091a..3ad458286f 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -601,7 +601,7 @@ define KernelPackage/fs-vfat FILES:= \ $(LINUX_DIR)/fs/fat/fat.ko \ $(LINUX_DIR)/fs/fat/vfat.ko - AUTOLOAD:=$(call AutoLoad,30,fat vfat) + AUTOLOAD:=$(call AutoLoad,30,fat vfat,1) $(call AddDepends/nls,cp437 iso8859-1 utf8) endef