mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 20:31:08 +00:00
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>
This commit is contained in:
parent
866daa14e3
commit
cdc7467631
@ -1,5 +1,5 @@
|
||||
require python-pywbem.inc
|
||||
inherit setuptools
|
||||
inherit setuptools update-alternatives
|
||||
|
||||
DEPENDS += " \
|
||||
${PYTHON_PN}-m2crypto-native \
|
||||
@ -11,3 +11,10 @@ RDEPENDS_${PN}_class-target += "\
|
||||
${PYTHON_PN}-m2crypto \
|
||||
${PYTHON_PN}-subprocess \
|
||||
"
|
||||
|
||||
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 = "30"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user