Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-support / cluster-glue / cluster-glue / 0001-ribcl.py.in-Warning-Fix.patch
1 From a2c66927b75547cee1db1340a67449ded0812df3 Mon Sep 17 00:00:00 2001
2 From: Li xin <lixin.fnst@cn.fujitsu.com>
3 Date: Wed, 19 Aug 2015 11:13:46 +0900
4 Subject: [PATCH] ribcl.py.in: Warning Fix
5
6 WARNING: QA Issue: /usr/lib/stonith/plugins/stonith2/ribcl.py_cluster-glue-plugin-stonith2-ribcl
7 contained in package cluster-glue-plugin-stonith2-ribcl requires /usr/local/bin/python,
8 but no providers found in its RDEPENDS [file-rdeps]
9
10 Add target python handling
11 Allow the build to specify a path for the python instead of reusing
12 the PYTHON variable which can lead to inconsistencies if we are cross
13 compiling.
14
15 Upstream-Status: pending
16
17 Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
18 ---
19  lib/plugins/stonith/ribcl.py.in | 2 +-
20  1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/lib/plugins/stonith/ribcl.py.in b/lib/plugins/stonith/ribcl.py.in
23 index 14e070c..01205e3 100644
24 --- a/lib/plugins/stonith/ribcl.py.in
25 +++ b/lib/plugins/stonith/ribcl.py.in
26 @@ -1,4 +1,4 @@
27 -#!@PYTHON@
28 +#!@TRAGET_PYTHON@
29  
30  
31  #
32 -- 
33 1.8.4.2
34