Browse Source

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 <[email protected]>
Tomasz Maciej Nowak 3 years ago
parent
commit
6c4cd85785
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/kernel/linux/modules/fs.mk

+ 1 - 1
package/kernel/linux/modules/fs.mk

@@ -601,7 +601,7 @@ define KernelPackage/fs-vfat
   FILES:= \
   FILES:= \
 	$(LINUX_DIR)/fs/fat/fat.ko \
 	$(LINUX_DIR)/fs/fat/fat.ko \
 	$(LINUX_DIR)/fs/fat/vfat.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)
   $(call AddDepends/nls,cp437 iso8859-1 utf8)
 endef
 endef