[node-patches] Change in ovirt-node[master]: recipe: Fix udev patch
fabiand at redhat.com
fabiand at redhat.com
Fri Nov 14 11:37:22 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: recipe: Fix udev patch
......................................................................
recipe: Fix udev patch
The value needs to be quoted, otherwise it does not work.
Change-Id: I3a73f7f56d620cf38260898e272be42c32ae82bc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1158044
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1158465
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/centos6-post.ks
M recipe/rhevh6-post.ks
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/60/35160/1
diff --git a/recipe/centos6-post.ks b/recipe/centos6-post.ks
index 55d1e74..1fabb4f 100644
--- a/recipe/centos6-post.ks
+++ b/recipe/centos6-post.ks
@@ -205,7 +205,7 @@
ENV{DM_SUSPENDED}=="1", GOTO="end_mpath"
ENV{DM_ACTION}=="PATH_FAILED", GOTO="end_mpath"
-RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
-+ENV{DM_ACTIVATION}==1, RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
++ENV{DM_ACTIVATION}=="1", RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
LABEL="end_mpath"
EOF_udev_patch
diff --git a/recipe/rhevh6-post.ks b/recipe/rhevh6-post.ks
index 6b206cc..561fa8e 100644
--- a/recipe/rhevh6-post.ks
+++ b/recipe/rhevh6-post.ks
@@ -236,7 +236,7 @@
ENV{DM_SUSPENDED}=="1", GOTO="end_mpath"
ENV{DM_ACTION}=="PATH_FAILED", GOTO="end_mpath"
-RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
-+ENV{DM_ACTIVATION}==1, RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
++ENV{DM_ACTIVATION}=="1", RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
LABEL="end_mpath"
EOF_udev_patch
--
To view, visit http://gerrit.ovirt.org/35160
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a73f7f56d620cf38260898e272be42c32ae82bc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list