[node-patches] Change in ovirt-node[ovirt-3.5]: centos6-post: Remove mkdumprd patch

dougsland at redhat.com dougsland at redhat.com
Thu Feb 19 12:09:04 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: centos6-post: Remove mkdumprd patch
......................................................................

centos6-post: Remove mkdumprd patch

Base code changed far away, removing a non applying patch.

Change-Id: I823e9fa85db1e1c1d1c50c9dd24b1185c7825e44
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/centos6-post.ks
1 file changed, 0 insertions(+), 30 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/49/37949/1

diff --git a/recipe/centos6-post.ks b/recipe/centos6-post.ks
index cbebcc3..75bbf05 100644
--- a/recipe/centos6-post.ks
+++ b/recipe/centos6-post.ks
@@ -166,33 +166,3 @@
 
 # set maxlogins to 3
 echo "*        -       maxlogins      3" >> /etc/security/limits.conf
-
-# rhbz#738170
-# later versions use mkdumprd/kdump_is_bridge(), which is smarter about
-# detecting bridge devices (instead of just br*), and this patch is not
-# necessary
-if ! grep -q 6.6 /etc/system-release; then
-    patch -d /sbin -p0 << \EOF_mkdumprd
---- /sbin/mkdumprd.orig	2011-10-06 06:37:49.000000000 +0000
-+++ /sbin/mkdumprd	2011-11-01 04:21:19.000000000 +0000
-@@ -583,7 +583,7 @@
-         eth*.*)
-             modalias=8021q
-             ;;
--        br*)
-+        rhevm|br*)
-             modalias=bridge
-             ;;
-         *)
-@@ -756,7 +756,7 @@
-             echo >> $MNTIMAGE/etc/ifcfg-$dev
-             echo "BUS_ID=\"Bonding\"" >> $MNTIMAGE/etc/ifcfg-$dev
-             ;;
--	br*)
-+	rhevm|br*)
-             for j in `ls /sys/class/net/$dev/brif`
-             do
-                 handlenetdev $j
-
-EOF_mkdumprd
-fi


-- 
To view, visit http://gerrit.ovirt.org/37949
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I823e9fa85db1e1c1d1c50c9dd24b1185c7825e44
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list