--- /dev/null
+--- 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
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
%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"