From: Jakub Bogusz Date: Sun, 19 Jun 2016 18:36:39 +0000 (+0200) Subject: - added modprobe-cache patch (fix first use of modprobe_c, most likely usb or firewir... X-Git-Tag: auto/th/rc-scripts-0.4.15-6~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frc-scripts.git;a=commitdiff_plain;h=742e4add7bfac6d1c7fe01194b89b76ef8c42ba1;hp=1e1b42744113cf09ad951b390cb0fef013cae180 - added modprobe-cache patch (fix first use of modprobe_c, most likely usb or firewire controller setup) --- 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 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"