SHA256
1
0
forked from pool/kmod

Accepting request 846461 from Base:System

- Add usr-lib-modprobe.patch [boo#1092648]

OBS-URL: https://build.opensuse.org/request/show/846461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmod?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2020-11-09 12:56:54 +00:00 committed by Git OBS Bridge
commit 30177e49d4
5 changed files with 32 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 6 11:41:50 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Add usr-lib-modprobe.patch [boo#1092648]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 12 19:41:20 UTC 2019 - Michal Suchanek <msuchanek@suse.com> Tue Feb 12 19:41:20 UTC 2019 - Michal Suchanek <msuchanek@suse.com>

View File

@ -35,6 +35,7 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch
Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch
Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch
Patch6: 0012-modprobe-print-unsupported-status.patch Patch6: 0012-modprobe-print-unsupported-status.patch
Patch7: usr-lib-modprobe.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: kernel-default-devel BuildRequires: kernel-default-devel

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 6 11:41:50 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Add usr-lib-modprobe.patch [boo#1092648]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 7 13:05:53 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Tue Jul 7 13:05:53 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -35,6 +35,7 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch
Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch
Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch
Patch6: 0012-modprobe-print-unsupported-status.patch Patch6: 0012-modprobe-print-unsupported-status.patch
Patch7: usr-lib-modprobe.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libopenssl-devel >= 1.1.0 BuildRequires: libopenssl-devel >= 1.1.0
@ -98,7 +99,7 @@ in %lname.
autoreconf -fi autoreconf -fi
export LDFLAGS="-Wl,-z,relro,-z,now" export LDFLAGS="-Wl,-z,relro,-z,now"
# The extra --includedir gives us the possibility to detect dependent # The extra --includedir gives us the possibility to detect dependent
# packages which fail to properly use pkgconfig. # packages which fail to properly use pkgconfig, cf. bugzilla.opensuse.org/795968
%configure \ %configure \
--with-xz \ --with-xz \
--with-zlib \ --with-zlib \

19
usr-lib-modprobe.patch Normal file
View File

@ -0,0 +1,19 @@
From: Jan Engelhardt <jengelh@inai.de>
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
};