mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-21 11:58:24 +00:00
python(3)-ndg-httpsclient: use update-alternatives to avoid do_rootfs failure
Use update-alternaives to manage /usr/bin/ndg_httpclient to avoid the following do_rootfs failure. Error: Transaction check error: file /usr/bin/ndg_httpclient conflicts between attempted installs of python-ndg-httpsclient-0.5.1-r0.core2_64 and python3-ndg-httpsclient-0.5.1-r0.core2_64 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
8baaf20880
commit
892948980c
@@ -1,2 +1,6 @@
|
|||||||
require python-ndg-httpsclient.inc
|
require python-ndg-httpsclient.inc
|
||||||
inherit pypi setuptools
|
inherit pypi setuptools update-alternatives
|
||||||
|
|
||||||
|
ALTERNATIVE_${PN} = "ndg_httpclient"
|
||||||
|
ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
|
||||||
|
ALTERNATIVE_PRIORITY = "20"
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
inherit pypi setuptools3
|
inherit pypi setuptools3 update-alternatives
|
||||||
require python-ndg-httpsclient.inc
|
require python-ndg-httpsclient.inc
|
||||||
|
|
||||||
|
ALTERNATIVE_${PN} = "ndg_httpclient"
|
||||||
|
ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
|
||||||
|
ALTERNATIVE_PRIORITY = "30"
|
||||||
|
|||||||
Reference in New Issue
Block a user