From beab3e7db9118b5d2adc66bff241ec1085a97bf5 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 12 Jul 2014 22:21:14 +0000 Subject: [PATCH] - ifenslave is deprecated, use sysfs for managing bond interfaces --- rc-scripts.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc-scripts.spec b/rc-scripts.spec index 2ece400..ea9c12e 100644 --- a/rc-scripts.spec +++ b/rc-scripts.spec @@ -20,6 +20,7 @@ Patch100: %{name}-tld.patch Patch101: %{name}-no_tmpfs_root_fsck.patch Patch102: %{name}-selinuxfs_mount.patch Patch103: %{name}-sh_fixes.patch +Patch104: %{name}-net-bond.patch URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts BuildRequires: autoconf BuildRequires: automake @@ -115,6 +116,7 @@ programcıklar içerir. %patch101 -p1 %patch102 -p1 %patch103 -p1 +%patch104 -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" @@ -325,6 +327,7 @@ done %{systemdunitdir}/sys-chroots.service %dir /lib/rc-scripts +%attr(755,root,root) /lib/rc-scripts/ifdown-bond %attr(755,root,root) /lib/rc-scripts/ifdown-br %attr(755,root,root) /lib/rc-scripts/ifdown-irda %attr(755,root,root) /lib/rc-scripts/ifdown-post @@ -332,6 +335,7 @@ done %attr(755,root,root) /lib/rc-scripts/ifdown-sl %attr(755,root,root) /lib/rc-scripts/ifdown-vlan /lib/rc-scripts/ifup-aliases +%attr(755,root,root) /lib/rc-scripts/ifup-bond %attr(755,root,root) /lib/rc-scripts/ifup-br %attr(755,root,root) /lib/rc-scripts/ifup-ipx %attr(755,root,root) /lib/rc-scripts/ifup-irda -- 2.46.0