]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
modutils-initscripts: Use depmod -a when modules.dep is empty
authorDiego Sueiro <diego.sueiro@arm.com>
Tue, 8 Dec 2020 11:44:59 +0000 (11:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2020 00:06:20 +0000 (00:06 +0000)
commit3401ff8edeaba9105fbb38e045a440cf0d51a5b3
tree868a31b48b12598ff4864e3455a73a659bc01683
parent4c6dfcc8d38b1f4fa0b4b889def060adff3bf9f4
modutils-initscripts: Use depmod -a when modules.dep is empty

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.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/modutils-initscripts/files/modutils.sh