diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2018-09-14 09:51:44 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-14 19:01:41 -0700 |
commit | e76c316a97610355d556d09dbaccaece38947e4f (patch) | |
tree | fb0c62d916ebdacceb1c716df0f026e42056eb64 /recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb | |
parent | 4f840830a5f078cdc7e08ff095925ad90a97ea12 (diff) | |
download | meta-python2-e76c316a97610355d556d09dbaccaece38947e4f.tar.gz |
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
(From meta-openembedded commit: 892948980c153ff21f7863115b4a51c8f0f194d2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb')
-rw-r--r-- | recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb b/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb index ca0eb32..9cd881a 100644 --- a/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb +++ b/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb @@ -1,2 +1,6 @@ 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" |