summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/modutils-initscripts/files
Commit message (Collapse)AuthorAgeFilesLines
* modutils-initscripts: Change license PD -> MITRichard Purdie2022-04-012-8/+4
| | | | | | | | | | | | | | | | | | | | The file was originally added to OE here: https://git.openembedded.org/openembedded/commit/modutils/files/modutils.sh?id=3b3989442075d0a4c6c32cb187de17d87bf65fbd and the license added here as "PD": https://git.openembedded.org/openembedded/commit/modutils/modutils-initscripts.oe?id=4f7d2b1b63d166e5de146d71e5c942419424446e As "Public Domain", we can re-license it to MIT, which fits in with the rest of our metadata and has an SPDX identifier, so lets do that and try and keep our licenses simpler. This also them removes the need for a weird license patch in SRC_URI. (From OE-Core rev: d00628aac051cfc2ceffbc42f896a4672fdbcab1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modutils-initscripts: Bail out when no module is installedKevin Hao2021-04-181-0/+1
| | | | | | | | | | Fix the following warning when boot with a core-image-minimal rootfs: depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory (From OE-Core rev: c34650400182a1104a5fbe03e54f5cea69eb1900) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modutils-initscripts: Use depmod -a when modules.dep is emptyDiego Sueiro2020-12-151-1/+1
| | | | | | | | | | | | To correctly create the modules.dep when it is empty, we need to call depmod with '-a' instead of '-Ae' since the quick option uses the mtime to decide whether or not it needs to update. This way we can guarantee that it will be recreated completely and not only when adding new modules. (From OE-Core rev: 9292e9050fd95be4b556909e2775a45bce1ca79a) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modutils-initscripts: Fix modules.dep creation when USE_DEPMOD="0"Diego Sueiro2020-12-061-3/+5
| | | | | | | | | | | | | 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>
* modutils-initscripts: improve modutils.shLaurentiu Palcu2013-01-181-9/+25
| | | | | | | | | | | | | | | | | | | | | | | 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>
* module-init-tools: DeleteKhem Raj2012-05-072-0/+44
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>