[PATCH 3/5] Rename check_fence_kdump to check_pcs_cluster_rebuild
Martin Perina
mperina at redhat.com
Wed Mar 19 09:05:27 UTC 2014
Rename check_fence_kdump to check_pcs_cluster_rebuild because it detects
if initrd has to be rebuild due to Pacemaker fence_kdump configuration
change.
Bug-Url: https://bugzilla.redhat.com/1078134
Signed-off-by: Martin Perina <mperina at redhat.com>
---
kdumpctl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kdumpctl b/kdumpctl
index f374abf..2199c0c 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -185,9 +185,9 @@ function check_config()
return 0
}
-# check_fence_kdump <image timestamp>
-# return 0 if fence_kdump is configured and kdump initrd needs to be rebuilt
-function check_fence_kdump()
+# check_pcs_cluster_rebuild <image timestamp>
+# return 0 if fence_kdump is configured in pcs cluster and kdump initrd needs to be rebuilt
+function check_pcs_cluster_rebuild()
{
local image_time=$1
local cib_time
@@ -239,8 +239,8 @@ function check_rebuild()
image_time=0
fi
- #also rebuild when cluster conf is changed and fence kdump is enabled.
- check_fence_kdump $image_time && modified_files="cluster-cib"
+ #also rebuild when pcs cluster conf is changed and fence kdump is enabled.
+ check_pcs_cluster_rebuild $image_time && modified_files="cluster-cib"
EXTRA_BINS=`grep ^kdump_post $KDUMP_CONFIG_FILE | cut -d\ -f2`
CHECK_FILES=`grep ^kdump_pre $KDUMP_CONFIG_FILE | cut -d\ -f2`
--
1.8.3.1
More information about the kexec
mailing list