kernel: load device-mapper early on boot
authorDaniel Golle <daniel@makrotopia.org>
Sun, 3 Apr 2022 15:19:31 +0000 (16:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 5 Apr 2022 21:33:35 +0000 (23:33 +0200)
commit2dafc04b4d29ca473002aed17da6c93dca110c1b
tree6aa69fb4f7cdfa4568bebdba3a1fe5d5bb034556
parent66c075c5d2ee051d799fc850c984b75bfc04b8c6
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)
package/kernel/linux/modules/block.mk