[openwrt/openwrt] kernel: load FAT filesystem drivers before mount_root

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 7 12:48:48 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6c4cd857851b010eab73fdefd4ada6b23f6eb048

commit 6c4cd857851b010eab73fdefd4ada6b23f6eb048
Author: Tomasz Maciej Nowak <tmn505 at gmail.com>
AuthorDate: Mon Aug 29 16:22:18 2022 +0200

    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 <tmn505 at gmail.com>
---
 package/kernel/linux/modules/fs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 




More information about the lede-commits mailing list