From 742e4add7bfac6d1c7fe01194b89b76ef8c42ba1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 19 Jun 2016 20:36:39 +0200 Subject: [PATCH 1/1] - 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(+) create mode 100644 rc-scripts-modprobe-cache.patch 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" -- 2.44.0