diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-01-17 16:58:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 13:28:07 +0000 |
commit | 36a64307274c5940332ceb139d2b4eff33663e29 (patch) | |
tree | 8b500bd582627b53524dc6c436d68bec6771480e /meta/recipes-bsp | |
parent | e7ebff0a9865cfbb5ce00de095a47a7b12b26196 (diff) | |
download | poky-36a64307274c5940332ceb139d2b4eff33663e29.tar.gz |
modutils-initscripts: improve modutils.sh
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>
Diffstat (limited to 'meta/recipes-bsp')
0 files changed, 0 insertions, 0 deletions