From cc1ac6059483e337f05b3d420031c2312afba9cf Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Thu, 13 Jun 2019 11:25:34 +0800 Subject: python3-pywbem:solved the conflict with python-pywbem -Use update-alternatives class to resolve conflicts with python-pywbem. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'meta-python') diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb index 6a35a87442..abfb8d9202 100644 --- a/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb @@ -1,2 +1,9 @@ require python-pywbem.inc -inherit setuptools3 +inherit setuptools3 update-alternatives + +ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli" +ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler" +ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli" +ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli" + +ALTERNATIVE_PRIORITY = "60" -- cgit 1.2.3-korg