projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e43bb
)
depmod: fix precedence order
author
Lucas De Marchi
<lucas.demarchi@intel.com>
Tue, 19 Jan 2021 02:13:25 +0000
(18:13 -0800)
committer
Lucas De Marchi
<lucas.demarchi@intel.com>
Tue, 19 Jan 2021 02:26:36 +0000
(18:26 -0800)
Configuration in /etc should have higher prio than /run.
Given how rarely configuration in /run is used with depmod, this is
likely not to cause any problems, even if it's a change in behavior.
tools/depmod.c
patch
|
blob
|
history
diff --git
a/tools/depmod.c
b/tools/depmod.c
index
3f31cdf
..
8e1d9ec
100644
(file)
--- a/
tools/depmod.c
+++ b/
tools/depmod.c
@@
-51,8
+51,8
@@
static int verbose = DEFAULT_VERBOSE;
static const char CFG_BUILTIN_KEY[] = "built-in";
static const char CFG_EXTERNAL_KEY[] = "external";
static const char *default_cfg_paths[] = {
- "/run/depmod.d",
SYSCONFDIR "/depmod.d",
+ "/run/depmod.d",
"/lib/depmod.d",
NULL
};