initrd: load kernel module #2 69/260269/2 accepted/tizen/unified/20210624.131807 submit/tizen/20210623.224642
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 23 Jun 2021 01:52:44 +0000 (10:52 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 23 Jun 2021 02:15:15 +0000 (11:15 +0900)
Change-Id: Id87b8e551d3c278af58bd23b0343a9fd4f3f0213

scripts/init.sh

index 2b4b7ac85c0aae5cd02a7bdc3691fcd3f01f2d2b..c230e85a0dacd41d76736539c5d7abcbc188732c 100755 (executable)
@@ -272,7 +272,7 @@ function load_kernel_modules
             if [ "${module:0:1}" = "#" ]; then continue; fi  # skip # commented line
 
             echo "Loading module: $module"
-            /sbin/modprobe $module
+            /sbin/modprobe --dirname=$ROOTFS_MNT $module
         done < $conf
     done
 }