summaryrefslogtreecommitdiff
path: root/libkmod
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2021-07-08 12:35:38 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2021-07-08 14:25:52 +0200
commit07a2923a2454f155bec094abcff5ee1b2314ba8d (patch)
tree11fc98560e3f42cb942e5c2aad786581a81fd985 /libkmod
parent242331a077627af3dac724f83a16de315adba099 (diff)
downloadkmod-07a2923a2454f155bec094abcff5ee1b2314ba8d.tar.gz
kmod-07a2923a2454f155bec094abcff5ee1b2314ba8d.tar.bz2
kmod-07a2923a2454f155bec094abcff5ee1b2314ba8d.zip
This commit adds additional tizen-specific /lib/modules/modprobe.d to kmod search path to allow for packages providing modules to also provide its configuration. In Tizen kernel and modules images are build separately from "platform" image, meaning only limited paths can be used (/lib/modules, /hal) for its files to be accessible from the system. Change-Id: I6985339abd1234aecfb5802484bd57f36a64bab2 Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Diffstat (limited to 'libkmod')
-rw-r--r--libkmod/libkmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c
index 43423d6..80afdb8 100644
--- a/libkmod/libkmod.c
+++ b/libkmod/libkmod.c
@@ -65,6 +65,7 @@ static const char *default_config_paths[] = {
SYSCONFDIR "/modprobe.d",
"/run/modprobe.d",
"/lib/modprobe.d",
+ "/lib/modules/modprobe.d",
NULL
};