Skip to content
Commit 37c9cb2e authored by Diego Sueiro's avatar Diego Sueiro Committed by Steve Sakoman
Browse files

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: default avatarDiego Sueiro <diego.sueiro@arm.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9292e905)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent fcd335e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment