diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-06-13 11:25:33 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-06-15 16:45:32 -0700 |
commit | cdc746763189818b16c6eec35375a162359d4d27 (patch) | |
tree | b39bc7e76c6412f705ea8b534ddc53148a8a65cb /meta-python/recipes-extended | |
parent | 866daa14e30e2141a025fd9e71ba5406a8b0329a (diff) | |
download | meta-openembedded-cdc746763189818b16c6eec35375a162359d4d27.tar.gz |
python-pywbem: solved the conflict with python3-pywbem
-Use update-alternatives class to resolve conflicts with python3-pywbem.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended')
-rw-r--r-- | meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb b/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb index 741074907..a699f1c7e 100644 --- a/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb +++ b/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | require python-pywbem.inc | 1 | require python-pywbem.inc |
2 | inherit setuptools | 2 | inherit setuptools update-alternatives |
3 | 3 | ||
4 | DEPENDS += " \ | 4 | DEPENDS += " \ |
5 | ${PYTHON_PN}-m2crypto-native \ | 5 | ${PYTHON_PN}-m2crypto-native \ |
@@ -11,3 +11,10 @@ RDEPENDS_${PN}_class-target += "\ | |||
11 | ${PYTHON_PN}-m2crypto \ | 11 | ${PYTHON_PN}-m2crypto \ |
12 | ${PYTHON_PN}-subprocess \ | 12 | ${PYTHON_PN}-subprocess \ |
13 | " | 13 | " |
14 | |||
15 | ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli" | ||
16 | ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler" | ||
17 | ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli" | ||
18 | ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli" | ||
19 | |||
20 | ALTERNATIVE_PRIORITY = "30" | ||