mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 01:41:41 +00:00
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> (cherry picked from commit 82f9ad6ab21ca4925278429a3e1b31d26c306d9f)
This commit is contained in:
parent
66c075c5d2
commit
2dafc04b4d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user