Skip to contentSkip to conversation

python3-setuptools: move patch from 'files' to 'python3-setuptools'

PATCH New Martin Jansa 1 participant 2 messages Jul 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-setuptools: move patch from 'files' to 'python3-setuptools'

* it's not used by any other recipe AFAIK
* meta-python2 has own copy for python-setuptools there in:
meta-python2/recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch

---
 .../0001-conditionally-do-not-fetch-code-by-easy_install.patch    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-devtools/python/{files => python3-setuptools}/0001-conditionally-do-not-fetch-code-by-easy_install.patch (100%)
meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch renamed from meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
rename to meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/2 kernel.bbclass: pass LD also in savedefconfig

* similar to:
https://git.openembedded.org/openembedded-core/commit/?id=66c1f4b0abd3483759f9e4141a80f982eaf8ccfd
https://git.openembedded.org/openembedded-core/commit/?id=36fe2efc91fec5a52374a2dc4814a69076a2d28e
but for savedefconfig task
* otherwise with ld-is-gold it will fail with:
gold linker is not supported as it is not capable of linking the kernel proper.

---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
index 2036226fb0..3ae5e6c9f9 100644
@@ -629,7 +629,7 @@ kernel_do_configure() {
 
 do_savedefconfig() {
 	bbplain "Saving defconfig to:\n${B}/defconfig"
-	oe_runmake -C ${B} savedefconfig
+	oe_runmake -C ${B} LD='${KERNEL_LD}' savedefconfig
 }
 do_savedefconfig[nostamp] = "1"
 addtask savedefconfig after do_configure
Signature · 1 line
2.35.1