[packages/rc-scripts] - added modprobe-cache patch (fix first use of modprobe_c, most likely usb or firewire controller se

qboosh qboosh at pld-linux.org
Sun Jun 19 20:36:54 CEST 2016


commit 742e4add7bfac6d1c7fe01194b89b76ef8c42ba1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 19 20:36:39 2016 +0200

    - added modprobe-cache patch (fix first use of modprobe_c, most likely usb or firewire controller setup)

 rc-scripts-modprobe-cache.patch | 10 ++++++++++
 rc-scripts.spec                 |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/rc-scripts.spec b/rc-scripts.spec
index 7f13cce..5dbe879 100644
--- a/rc-scripts.spec
+++ b/rc-scripts.spec
@@ -19,6 +19,7 @@ Source1:	rc-local.service
 Source2:	sys-chroots.service
 Source3:	%{name}.tmpfiles
 Patch0:		%{name}-git.patch
+Patch1:		%{name}-modprobe-cache.patch
 URL:		http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -132,6 +133,7 @@ directories are silently ignored.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch:
 #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic"
diff --git a/rc-scripts-modprobe-cache.patch b/rc-scripts-modprobe-cache.patch
new file mode 100644
index 0000000..98a80f8
--- /dev/null
+++ b/rc-scripts-modprobe-cache.patch
@@ -0,0 +1,10 @@
+--- rc-scripts-0.4.15/rc.d/rc.sysinit.orig	2016-06-19 20:27:45.987376063 +0200
++++ rc-scripts-0.4.15/rc.d/rc.sysinit	2016-06-19 20:27:50.154042707 +0200
+@@ -47,6 +47,7 @@
+ 
+ 	# filter only what is wanted by this script: aliases and options
+ 	modprobe_c_cache=$(modprobe -c | grep -E '^(alias|options)')
++	echo "$modprobe_c_cache"
+ }
+ 
+ # parse kernel cmdline
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rc-scripts.git/commitdiff/742e4add7bfac6d1c7fe01194b89b76ef8c42ba1



More information about the pld-cvs-commit mailing list