[node-patches] Change in ovirt-node[ovirt-3.5]: Patch sos-3.2 on python 2.6 as well

fabiand at redhat.com fabiand at redhat.com
Wed Jun 24 14:40:00 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: Patch sos-3.2 on python 2.6 as well
......................................................................

Patch sos-3.2 on python 2.6 as well

Match 2.6 and 2.7, so we can start combining necessary patches to
keep up with sos on el7 and el6 in one places. This also makes
sosreport work on 6.7-based images.

Change-Id: Ic0fd6126d385fc6f290726d88f560d0ecfdfaa77
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1232229
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/common-post.ks
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/18/42818/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index d5d5266..fcbd217 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -230,7 +230,7 @@
 echo "use .pyc for plugins enumeration, .py is blacklisted"
 # include *-release
 if [[ $(rpm -q sos) =~ sos-3.2 ]]; then
-patch --fuzz 3 -d /usr/lib/python2.7/site-packages/sos -p2 <<  \EOF_sos_patch
+patch --fuzz 3 -d /usr/lib/python2.?/site-packages/sos -p2 <<  \EOF_sos_patch
 index 341d268..51883fa 100644
 --- a/sos/plugins/general.py
 +++ b/sos/plugins/general.py


-- 
To view, visit https://gerrit.ovirt.org/42818
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0fd6126d385fc6f290726d88f560d0ecfdfaa77
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list