[openwrt/openwrt] kernel: load device-mapper early on boot
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 5 14:34:30 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/2dafc04b4d29ca473002aed17da6c93dca110c1b
commit 2dafc04b4d29ca473002aed17da6c93dca110c1b
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Apr 3 16:19:31 2022 +0100
kernel: load device-mapper early on boot
Previously commit openwrt/packages at 3abb7cb ("lvm2: Added script and updated Makefile[...]")
couldn't actually work and allow rootfs_data to be stored on a LVM2 as
the necessary kernel modules had not been loaded at this point.
Fix this by loading device-mapper modules early at boot.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
(cherry picked from commit 82f9ad6ab21ca4925278429a3e1b31d26c306d9f)
---
package/kernel/linux/modules/block.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index e5822d95d7..2be9ef0c64 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -243,7 +243,7 @@ define KernelPackage/dm
$(LINUX_DIR)/drivers/md/dm-log.ko \
$(LINUX_DIR)/drivers/md/dm-mirror.ko \
$(LINUX_DIR)/drivers/md/dm-region-hash.ko
- AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
+ AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt,1)
endef
define KernelPackage/dm/description
More information about the lede-commits
mailing list