diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-04-03 16:19:31 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-04-05 23:33:35 +0200 |
commit | 2dafc04b4d29ca473002aed17da6c93dca110c1b (patch) | |
tree | 6aa69fb4f7cdfa4568bebdba3a1fe5d5bb034556 /package | |
parent | 66c075c5d2ee051d799fc850c984b75bfc04b8c6 (diff) | |
download | upstream-2dafc04b4d29ca473002aed17da6c93dca110c1b.tar.gz upstream-2dafc04b4d29ca473002aed17da6c93dca110c1b.tar.bz2 upstream-2dafc04b4d29ca473002aed17da6c93dca110c1b.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>
(cherry picked from commit 82f9ad6ab21ca4925278429a3e1b31d26c306d9f)
Diffstat (limited to 'package')
-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 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 |