]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- added modprobe-cache patch (fix first use of modprobe_c, most likely usb or firewir...
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Jun 2016 18:36:39 +0000 (20:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Jun 2016 18:36:49 +0000 (20:36 +0200)
rc-scripts-modprobe-cache.patch [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-scripts-modprobe-cache.patch b/rc-scripts-modprobe-cache.patch
new file mode 100644 (file)
index 0000000..98a80f8
--- /dev/null
@@ -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
index 7f13cce013e32a80f30ab2d20104953cb6df6d84..5dbe87988bd6f7582647c76da4027604a0a4d59d 100644 (file)
@@ -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"
This page took 0.115799 seconds and 4 git commands to generate.