From 892948980c153ff21f7863115b4a51c8f0f194d2 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Fri, 14 Sep 2018 09:51:44 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb index 3f07b2ed27..65a8c816f4 100644 --- a/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb @@ -1,2 +1,6 @@ -inherit pypi setuptools3 +inherit pypi setuptools3 update-alternatives require python-ndg-httpsclient.inc + +ALTERNATIVE_${PN} = "ndg_httpclient" +ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient" +ALTERNATIVE_PRIORITY = "30" -- cgit v1.2.3-54-g00ecf