]> code.ossystems Code Review - openembedded-core.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>
Tue, 15 Dec 2020 22:45:24 +0000 (22:45 +0000)
commit9292e9050fd95be4b556909e2775a45bce1ca79a
treefcb85bcd7ceb22ba87e391a3024f06384554f285
parent77d174fc80663403ef76c5b808aafc1117d3545c
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