diff options
author | Karol Lewandowski <k.lewandowsk@samsung.com> | 2021-07-08 12:35:38 +0200 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2022-08-02 14:15:13 +0900 |
commit | 3b57147fc34c95331c74f0ce044ea6c85df58f9f (patch) | |
tree | 3ec1ac7f48274bbfb591612f71fc5019b3f2a691 | |
parent | b41b9f36fa48aa70bf6759c6ae9ffd1f6c5787e3 (diff) | |
download | kmod-3b57147fc34c95331c74f0ce044ea6c85df58f9f.tar.gz kmod-3b57147fc34c95331c74f0ce044ea6c85df58f9f.tar.bz2 kmod-3b57147fc34c95331c74f0ce044ea6c85df58f9f.zip |
Add /lib/modules/modprobe.d to configuration search pathtizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen_base/20220802.051611accepted/tizen/base/dev/20230602.080819accepted/tizen/base/20221115.103734accepted/tizen/base/20220804.052410accepted/tizen/base/20220803.043309accepted/tizen/8.0/base/20231005.044822accepted/tizen/7.0/base/hotfix/20221116.055306accepted/tizen/7.0/base/20221116.025857tizen_8.0_basetizen_7.0_base_hotfixtizen_7.0_baseold/tizen_base-20231107accepted/tizen_base_devaccepted/tizen_8.0_baseaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_base
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>
-rw-r--r-- | libkmod/libkmod.c | 1 | ||||
-rw-r--r-- | man/modprobe.d.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 7c2b889..49cbe99 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -66,6 +66,7 @@ static const char *default_config_paths[] = { "/run/modprobe.d", "/usr/local/lib/modprobe.d", "/lib/modprobe.d", + "/lib/modules/modprobe.d", NULL }; diff --git a/man/modprobe.d.xml b/man/modprobe.d.xml index 0ab3e91..b5d4ca3 100644 --- a/man/modprobe.d.xml +++ b/man/modprobe.d.xml @@ -44,6 +44,7 @@ <para><filename>/usr/local/lib/modprobe.d/*.conf</filename></para> <para><filename>/run/modprobe.d/*.conf</filename></para> <para><filename>/etc/modprobe.d/*.conf</filename></para> + <para><filename>/lib/modules/modprobe.d/*.conf</filename></para> </refsynopsisdiv> <refsect1><title>DESCRIPTION</title> |