kernel: load loop driver before creating overlay
authorTomasz Maciej Nowak <tmn505@gmail.com>
Mon, 29 Aug 2022 14:21:52 +0000 (16:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 7 Sep 2022 19:21:38 +0000 (21:21 +0200)
Creating overlay will fail if there's no loop device.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
package/kernel/linux/modules/block.mk

index 40a14a9be2b1737089a95810d1e817fd237448d8..8affa722963ee9e7d72bd3998a533f7a2ce3274d 100644 (file)
@@ -465,7 +465,7 @@ define KernelPackage/loop
        CONFIG_BLK_DEV_LOOP \
        CONFIG_BLK_DEV_CRYPTOLOOP=n
   FILES:=$(LINUX_DIR)/drivers/block/loop.ko
-  AUTOLOAD:=$(call AutoLoad,30,loop)
+  AUTOLOAD:=$(call AutoLoad,30,loop,1)
 endef
 
 define KernelPackage/loop/description