diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-04-03 16:19:31 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-04-03 16:25:05 +0100 |
commit | 82f9ad6ab21ca4925278429a3e1b31d26c306d9f (patch) | |
tree | 62703404fb9c3aee0fae6673e1c5ff70f98245bb /package/kernel/linux | |
parent | bf6002e74b4f2bdf98857d11acd62e8781db2569 (diff) | |
download | upstream-82f9ad6ab21ca4925278429a3e1b31d26c306d9f.tar.gz upstream-82f9ad6ab21ca4925278429a3e1b31d26c306d9f.tar.bz2 upstream-82f9ad6ab21ca4925278429a3e1b31d26c306d9f.zip |
kernel: load device-mapper early on boot
Previously commit openwrt/packages@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@makrotopia.org>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/block.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index dfb529db3b..72f670b603 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 |