diff --git a/kmod-testsuite.spec b/kmod-testsuite.spec index e057680..7686e80 100644 --- a/kmod-testsuite.spec +++ b/kmod-testsuite.spec @@ -35,6 +35,7 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch6: 0012-modprobe-print-unsupported-status.patch +Patch7: usr-lib-modprobe.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: kernel-default-devel diff --git a/kmod.changes b/kmod.changes index f5eeb4c..29116c8 100644 --- a/kmod.changes +++ b/kmod.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 6 11:41:50 UTC 2020 - Jan Engelhardt + +- Add usr-lib-modprobe.patch [boo#1092648] + ------------------------------------------------------------------- Tue Jul 7 13:05:53 UTC 2020 - Jan Engelhardt diff --git a/kmod.spec b/kmod.spec index 76d6472..4dbfbe6 100644 --- a/kmod.spec +++ b/kmod.spec @@ -35,6 +35,7 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch6: 0012-modprobe-print-unsupported-status.patch +Patch7: usr-lib-modprobe.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libopenssl-devel >= 1.1.0 diff --git a/usr-lib-modprobe.patch b/usr-lib-modprobe.patch new file mode 100644 index 0000000..ec6e86d --- /dev/null +++ b/usr-lib-modprobe.patch @@ -0,0 +1,19 @@ +From: Jan Engelhardt +Date: 2020-11-06 12:38:10.597281938 +0100 +References: https://bugzilla.suse.com/show_bug.cgi?id=1092648 +--- + libkmod/libkmod.c | 1 + + 1 file changed, 1 insertion(+) + +Index: kmod-27/libkmod/libkmod.c +=================================================================== +--- kmod-27.orig/libkmod/libkmod.c ++++ kmod-27/libkmod/libkmod.c +@@ -64,6 +64,7 @@ static struct _index_files { + static const char *default_config_paths[] = { + SYSCONFDIR "/modprobe.d", + "/run/modprobe.d", ++ "/usr/lib/modprobe.d", + "/lib/modprobe.d", + NULL + };