summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/modutils-initscripts/files
AgeCommit message (Collapse)Author
2020-12-06modutils-initscripts: Fix modules.dep creation when USE_DEPMOD="0"Diego Sueiro
When having USE_DEPMOD="0" it is expected that in the first boot that the modules.dep is generated. To achieve this we need to check if modules.dep exists and has a size greater than zero. This verification also needs to be done regardless of whether the /etc/modules or /etc/modules-load.d directories exist. (From OE-Core rev: 572f3045faa0a937947fbd56bcfef7bad55e9da6) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-18modutils-initscripts: improve modutils.shLaurentiu Palcu
modutils.sh reads /etc/modules to load the listed modules at boot time. /etc/modules is generated by update-modules which scans /etc/modules-load.d directory. However, update-modules became obsolete because the files it generates are not used by modprobe anymore. Hence, change modutils.sh to scan also /etc/modules-load.d/*.conf and load the modules listed there. Basically, the behavior is this: * if /etc/modules exists, load those modules; * if the directory /etc/modules-load.d exists, load the modules listed in the .conf files but ignore those already loaded (from /etc/modules); [YOCTO #3598] (From OE-Core rev: f2d6e84cb1694e2365beca331439bb2d23843a5b) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-07module-init-tools: DeleteKhem Raj
Since its provided by kmod (From OE-Core rev: 27bc204010b9dccb30847d7b3216f8b1e106f64e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>