diff mbox series

kernel: load loop driver before creating overlay

Message ID 20220829142152.13352-1-tmn505@terefe.re
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series kernel: load loop driver before creating overlay | expand

Commit Message

Tomasz Maciej Nowak Aug. 29, 2022, 2:21 p.m. UTC
From: Tomasz Maciej Nowak <tmn505@gmail.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index 40a14a9be2b1..8affa722963e 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -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