- ifenslave is deprecated, use sysfs for managing bond interfaces
authorMarcin Krol <hawk@tld-linux.org>
Sat, 12 Jul 2014 22:21:14 +0000 (22:21 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 12 Jul 2014 22:21:14 +0000 (22:21 +0000)
rc-scripts.spec

index 2ece400..ea9c12e 100644 (file)
@@ -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