kernel: Autoload nvme at preinit time
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 23 Jul 2023 20:23:40 +0000 (22:23 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jul 2023 10:20:32 +0000 (12:20 +0200)
This way is possible to mount nvme extroots.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
package/kernel/linux/modules/block.mk

index bdf84e8ae29b238f97aa84ffeb03ebffe7a07db6..4ee3f78f3809a25d0442b7c0e3512ed6c284f072 100644 (file)
@@ -505,7 +505,7 @@ define KernelPackage/nvme
   FILES:= \
        $(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \
        $(LINUX_DIR)/drivers/nvme/host/nvme.ko
-  AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme)
+  AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme,1)
 endef
 
 define KernelPackage/nvme/description