[PATCH] x86: include kmod-fs-vfat by default in generic images

Daniel Golle daniel at makrotopia.org
Tue Jun 29 18:22:35 PDT 2021


As x86/64 and x86/generic may be using UEFI, mounting the FAT-32 /boot
is necessary in order not to loose configuration files accross
sysupgrades. Include kmod-fs-vfat by default to make sure /boot can
always be mounted.

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/x86/image/64.mk      | 2 +-
 target/linux/x86/image/generic.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/x86/image/64.mk b/target/linux/x86/image/64.mk
index 9c9decbf79..d5033f932a 100644
--- a/target/linux/x86/image/64.mk
+++ b/target/linux/x86/image/64.mk
@@ -1,7 +1,7 @@
 define Device/generic
   DEVICE_TITLE := Generic x86/64
   DEVICE_PACKAGES += kmod-amazon-ena kmod-bnx2 kmod-e1000e kmod-e1000 \
-	kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8169
+	kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8169 kmod-fs-vfat
   GRUB2_VARIANT := generic
 endef
 TARGET_DEVICES += generic
diff --git a/target/linux/x86/image/generic.mk b/target/linux/x86/image/generic.mk
index 8a23afef0a..81cccd30b0 100644
--- a/target/linux/x86/image/generic.mk
+++ b/target/linux/x86/image/generic.mk
@@ -2,7 +2,7 @@ define Device/generic
   DEVICE_TITLE := Generic x86
   DEVICE_PACKAGES += kmod-3c59x kmod-8139too kmod-e100 kmod-e1000 kmod-natsemi \
 	kmod-ne2k-pci kmod-pcnet32 kmod-r8169 kmod-sis900 kmod-tg3 \
-	kmod-via-rhine kmod-via-velocity kmod-forcedeth
+	kmod-via-rhine kmod-via-velocity kmod-forcedeth kmod-fs-vfat
   GRUB2_VARIANT := generic
 endef
 TARGET_DEVICES += generic
-- 
2.32.0




More information about the openwrt-devel mailing list