From 2dead0957cc753bcdcf3c01bdd5388cba9589572 Mon Sep 17 00:00:00 2001 From: hanzongcheng Date: Wed, 14 May 2025 20:34:16 +0800 Subject: [PATCH 1/2] python3-pip: fix LIC_FILES_CHKSUM * Fix LIC_FILES_CHKSUM for build error. Signed-off-by: hanzongcheng --- .../python/python3-pip_%.bbappend | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/meta-openeuler/recipes-devtools/python/python3-pip_%.bbappend b/meta-openeuler/recipes-devtools/python/python3-pip_%.bbappend index c14adbe980d..d3abb8a2a39 100644 --- a/meta-openeuler/recipes-devtools/python/python3-pip_%.bbappend +++ b/meta-openeuler/recipes-devtools/python/python3-pip_%.bbappend @@ -1,25 +1,11 @@ PV = "23.3.1" LIC_FILES_CHKSUM:remove = "\ - file://src/pip/_vendor/certifi/LICENSE;md5=67da0714c3f9471067b729eca6c9fbe8 \ - file://src/pip/_vendor/chardet/LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343 \ - file://src/pip/_vendor/distro.LICENSE;md5=d2794c0df5b907fdace235a619d80314 \ file://src/pip/_vendor/pkg_resources/LICENSE;md5=9a33897f1bca1160d7aad3835152e158 \ - file://src/pip/_vendor/platformdirs/LICENSE.txt;md5=282c970bb844954c8535dd6e9733db7f \ - file://src/pip/_vendor/pygments/LICENSE;md5=98419e351433ac106a24e3ad435930bc \ - file://src/pip/_vendor/typing_extensions.LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f \ - file://src/pip/_vendor/html5lib/LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c \ - file://src/pip/_vendor/pep517/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \ - file://src/pip/_vendor/progress/LICENSE;md5=00ab78a4113b09aacf63d762a7bb9644 \ + file://src/pip/_vendor/typing_extensions.LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2 \ " LIC_FILES_CHKSUM:prepend = "\ - file://src/pip/_vendor/certifi/LICENSE;md5=3c2b7404369c587c3559afb604fce2f2 \ - file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \ - file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \ file://src/pip/_vendor/pkg_resources/LICENSE;md5=141643e11c48898150daa83802dbc65f \ - file://src/pip/_vendor/platformdirs/LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a \ - file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \ - file://src/pip/_vendor/pyproject_hooks/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \ file://src/pip/_vendor/typing_extensions.LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2 \ " -- Gitee From d22e3490f2e02a2b6631a02c763461be7a0ad382 Mon Sep 17 00:00:00 2001 From: hanzongcheng Date: Thu, 15 May 2025 15:19:52 +0800 Subject: [PATCH 2/2] python3-ansible: enable gathering * For openeuler, we need to gather machine's information to support oedeploy. Signed-off-by: hanzongcheng --- .../recipes-devtools/python/python3-ansible_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-openeuler/recipes-devtools/python/python3-ansible_%.bbappend b/meta-openeuler/recipes-devtools/python/python3-ansible_%.bbappend index 0eb4d0da456..40222c50d32 100644 --- a/meta-openeuler/recipes-devtools/python/python3-ansible_%.bbappend +++ b/meta-openeuler/recipes-devtools/python/python3-ansible_%.bbappend @@ -19,3 +19,9 @@ SRC_URI = " \ file://CVE-2023-5115.patch \ file://CVE-2023-5764.patch \ " + +do_install:append() { + # For openeuler, we need to gather machine's information to support oedeploy. + sed -i "s|^gathering = explicit|#gathering = implicit|g" \ + ${D}/${sysconfdir}/ansible/ansible.cfg +} -- Gitee