[OE-core] [master][PATCH] gnupg: upgrade to 2.3.7 to fix CVE-2022-34903

2022-07-12 Thread Yue Tao
Signed-off-by: Yue Tao --- meta/recipes-support/gnupg/{gnupg_2.3.6.bb => gnupg_2.3.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/gnupg/{gnupg_2.3.6.bb => gnupg_2.3.7.bb} (97%) diff --git a/meta/recipes-support/gnupg/gnupg_2.3.6.bb

[OE-core][PATCH] curl: Fix build failure for qemuriscv64

2022-07-12 Thread He Zhe
Backport a patch from upstream to fix the following build failure. tmp-glibc/work/riscv64-wrs-linux/curl/7.84.0-r0/recipe-sysroot-native/ usr/bin/riscv64-wrs-linux/../../libexec/riscv64-wrs-linux/gcc/ riscv64-wrs-linux/12.1.0/ld: ../lib/.libs/libcurl.so: undefined reference to

[OE-core] [PATCH] python3-numpy: upgrade 1.23.0 -> 1.23.1

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- .../python/{python3-numpy_1.23.0.bb => python3-numpy_1.23.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-numpy_1.23.0.bb => python3-numpy_1.23.1.bb} (96%) diff --git

[OE-core] [PATCH] python3-typing-extensions: upgrade 4.2.0 -> 4.3.0

2022-07-12 Thread wangmy
Changelog: = - Add typing_extensions.NamedTuple, allowing for generic NamedTuples on Python <3.11 - Adjust typing_extensions.TypedDict to allow for generic TypedDicts on Python <3.11 Signed-off-by: Wang Mingyu --- ...g-extensions_4.2.0.bb => python3-typing-extensions_4.3.0.bb} | 2 +-

[OE-core] [PATCH] python3-urllib3: upgrade 1.26.9 -> 1.26.10

2022-07-12 Thread wangmy
Add dependence python3-logging. Changelog: = * Removed support for Python 3.5 * Fixed an issue where a "ProxyError" recommending configuring the proxy as HTTP instead of HTTPS could appear even when an HTTPS proxy wasn't configured. Signed-off-by: Wang Mingyu ---

[OE-core] [PATCH] init-system-helpers: upgrade 1.63 -> 1.64

2022-07-12 Thread wangmy
License-Update: year updated to 2022 Changelog: = * Team upload. * d-s-h: break infinite recursion on symlinks. (Closes: #1014119) * Bump Standards-Version to 4.6.1, no changes * Update date ranges in d/copyright Signed-off-by: Wang Mingyu --- ...nit-system-helpers_1.63.bb =>

[OE-core] [PATCH] bin_package: install into base_prefix

2022-07-12 Thread Pascal Bach
From: Pascal Bach This makes the bin_package.bbclass work properly with the native class. Signed-off-by: Pascal Bach --- meta/classes/bin_package.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/bin_package.bbclass b/meta/classes/bin_package.bbclass

[OE-core] [PATCH] curl: Link with libatomic on rv64

2022-07-12 Thread Yu, Mingli
From: Mingli Yu Fixes: undefined reference to `__atomic_exchange_1' Signed-off-by: Mingli Yu --- meta/recipes-support/curl/curl_7.84.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/curl/curl_7.84.0.bb b/meta/recipes-support/curl/curl_7.84.0.bb index

Re: [OE-core] Reproducible build issues with buildpaths - take 2

2022-07-12 Thread Richard Purdie
On Mon, 2022-07-11 at 00:06 -0300, Bruce Ashfield wrote: > On Sun, Jul 10, 2022 at 11:27 PM Bruce Ashfield via > lists.openembedded.org > wrote: > > > > On Sun, Jul 10, 2022 at 9:29 PM Bruce Ashfield via > > lists.openembedded.org > > wrote: > > > > > > On Fri, Jul 8, 2022 at 10:47 AM Richard

Re: [OE-core] [poky][master][kirkstone][PATCH] cve-check.bbclass: Add anonymous function to get patched CVEs from recipe

2022-07-12 Thread Ross Burton
On 12 Jul 2022, at 11:27, akash hadke via lists.openembedded.org wrote: > > Add an anonymous function to get patched CVEs from the recipe > and set the value to 'CVE_PATCHED' variable > This variable later can be used to do CVE data processing > outside of bitbake > > Also, introduce a new

[OE-core] [PATCH] kernel-fitimage.bbclass: add padding algorithm property in config nodes

2022-07-12 Thread Luis Enriquez
This allows choosing padding algorithm when building fitImage. It may be pkcs-1.5 or pss. Signed-off-by: LUIS ENRIQUEZ --- meta/classes/kernel-fitimage.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass

Re: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage

2022-07-12 Thread Khem Raj
On 7/11/22 1:24 PM, Richard Purdie wrote: Avoid accidentally linking to the rdma library from the host by adding a PACKAGECONFIG for the option. This was found on new Fedora 36 autobuilder workers. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file

Re: [OE-core] [PATCH] u-boot: upgrade 2022.04 -> 2022.07

2022-07-12 Thread Alexander Kanavin
On Tue, 12 Jul 2022 at 04:37, Sakib Sajal wrote: > -LIC_FILES_CHKSUM = > "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" > +LIC_FILES_CHKSUM = > "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" Why did this change? Needs to be explained in the commit message:

[OE-core] [PATCH] dpkg: upgrade 1.21.8 -> 1.21.9

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- meta/recipes-devtools/dpkg/{dpkg_1.21.8.bb => dpkg_1.21.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/dpkg/{dpkg_1.21.8.bb => dpkg_1.21.9.bb} (95%) diff --git a/meta/recipes-devtools/dpkg/dpkg_1.21.8.bb

[OE-core] [PATCH] python3-cryptography: upgrade 37.0.3 -> 37.0.4

2022-07-12 Thread wangmy
Changelog: == Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.5. Signed-off-by: Wang Mingyu --- ...n3-cryptography_37.0.3.bb => python3-cryptography_37.0.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH] inetutils: upgrade 2.2 -> 2.3

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- .../inetutils/{inetutils_2.2.bb => inetutils_2.3.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/inetutils/{inetutils_2.2.bb => inetutils_2.3.bb} (99%) diff --git

[OE-core] [PATCH] python3-atomicwrites: upgrade 1.4.0 -> 1.4.1

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- ...on3-atomicwrites_1.4.0.bb => python3-atomicwrites_1.4.1.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-atomicwrites_1.4.0.bb => python3-atomicwrites_1.4.1.bb} (78%) diff --git

[OE-core] [PATCH] python3-cryptography-vectors: upgrade 37.0.3 -> 37.0.4

2022-07-12 Thread wangmy
Changelog: == Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.5. Signed-off-by: Wang Mingyu --- ...vectors_37.0.3.bb => python3-cryptography-vectors_37.0.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

Re: [OE-core] [PATCH] curl: Link with libatomic on rv64

2022-07-12 Thread Khem Raj
upstream has a fix in code [1] to avoid these calls lets backport that [1] https://github.com/curl/curl/commit/50efb0822aa0e0ab165158dd0a26e65a2290e6d2 On 7/12/22 9:00 AM, Yu, Mingli wrote: From: Mingli Yu Fixes: undefined reference to `__atomic_exchange_1' Signed-off-by: Mingli Yu

Re: [OE-core] [PATCH 0/4] devtool fixes

2022-07-12 Thread Alexander Kanavin
Thanks Paul, this was one of the most annoying shortcomings of devtool. Alex On Tue, 12 Jul 2022 at 06:07, Paul Eggleton wrote: > > A few fixes for devtool, mostly relating to recipes that fetch from git > where S points to a subdirectory of the repo. > > Note: I wasn't 100% sure if it was

[OE-core] [poky][master][kirkstone][PATCH] cve-check.bbclass: Add anonymous function to get patched CVEs from recipe

2022-07-12 Thread akash hadke via lists.openembedded.org
Add an anonymous function to get patched CVEs from the recipe and set the value to 'CVE_PATCHED' variable This variable later can be used to do CVE data processing outside of bitbake Also, introduce a new variable 'CVE_CHECK_WITH_DB' default set to '0', when it is set to non zero value it avoids

[OE-core] [PATCH] python3-jsonschema: upgrade 4.6.1 -> 4.7.1

2022-07-12 Thread wangmy
Minor tweak of the PyPI hyperlink names Signed-off-by: Wang Mingyu --- ...{python3-jsonschema_4.6.1.bb => python3-jsonschema_4.7.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-jsonschema_4.6.1.bb => python3-jsonschema_4.7.1.bb} (93%)

[OE-core] [PATCH] python3-docutils: upgrade 0.18.1 -> 0.19

2022-07-12 Thread wangmy
License-Update: year updated to 2022 url of some reposity and license changed exceptions of BSD 2-Clause License changed Changelog: === - Drop support for Python 2.7, 3.5, and 3.6. - Output changes: HTML5: Wrap groups of footnotes in an for easier styling. The CSS rule

[OE-core] [PATCH] python3-imagesize: upgrade 1.3.0 -> 1.4.1

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- .../{python3-imagesize_1.3.0.bb => python3-imagesize_1.4.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-imagesize_1.3.0.bb => python3-imagesize_1.4.1.bb} (79%) diff --git

[OE-core] [PATCH] python3-hatchling: upgrade 1.3.1 -> 1.5.0

2022-07-12 Thread wangmy
Signed-off-by: Wang Mingyu --- .../{python3-hatchling_1.3.1.bb => python3-hatchling_1.5.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-hatchling_1.3.1.bb => python3-hatchling_1.5.0.bb} (88%) diff --git

Re: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage

2022-07-12 Thread Richard Purdie
On Mon, 2022-07-11 at 18:42 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core@lists.openembedded.org > c...@lists.openembedded.org> On Behalf Of Richard Purdie > > Sent: den 11 juli 2022 14:24 > > To: openembedded-core@lists.openembedded.org > > Subject:

[OE-core] [master] glibc: stable 2.35 branch updates

2022-07-12 Thread Sundeep KOKKONDA
Below commits on glibc-2.35 development branch are updated. b6aade18a7 nss: handle stat failure in check_reload_and_get (BZ #28752) ccac2d6d95 nss: add assert to DB_LOOKUP_FCT (BZ #28752) 9d8ae95604 nios2: Remove _dl_skip_args usage (BZ# 29187) 8468be8433 hppa: Remove _dl_skip_args usage (BZ#

Re: [OE-core] [PATCH] kernel-arch: Fix buildpaths leaking into external module compiles

2022-07-12 Thread Bruce Ashfield
On Tue, Jul 12, 2022 at 7:50 AM Richard Purdie wrote: > > Building external kernel modules like lttng-modules was showing build paths > inside the debug symbols for the modules and breaking build reproducibility. > > Fix this by adding in the mapping needed to map the kernel build directory > to

[OE-core] [PATCH] kernel-arch: Fix buildpaths leaking into external module compiles

2022-07-12 Thread Richard Purdie
Building external kernel modules like lttng-modules was showing build paths inside the debug symbols for the modules and breaking build reproducibility. Fix this by adding in the mapping needed to map the kernel build directory to something more approriate on target. Signed-off-by: Richard

Re: [OE-core] Reproducible build issues with buildpaths - take 2

2022-07-12 Thread Bruce Ashfield
On Tue, Jul 12, 2022 at 6:44 AM Richard Purdie wrote: > > On Mon, 2022-07-11 at 00:06 -0300, Bruce Ashfield wrote: > > On Sun, Jul 10, 2022 at 11:27 PM Bruce Ashfield via > > lists.openembedded.org > > wrote: > > > > > > On Sun, Jul 10, 2022 at 9:29 PM Bruce Ashfield via > > >

Re: [OE-core] [poky][master][kirkstone][PATCH] cve-check.bbclass: Add anonymous function to get patched CVEs from recipe

2022-07-12 Thread akash hadke via lists.openembedded.org
Hello Ross, We can inherit cve-check by default in the configuration to export CVE information like CVE_PRODUCT, CVE_VERSION and the newly added variable CVE_PATCHED. And CVE_CHECK_WITH_DB variable will avoid scanning the CVEs from DB It will work like 2 operational mode for cve-check.bbclass

[OE-core] [master] binutils : stable 2.38 branch updates

2022-07-12 Thread Sundeep KOKKONDA
Below commits on binutils-2.38 development branch are updated. e1ea1dafff6 x86: Properly handle IFUNC function pointer reference ffc7aa903b9 AArch64: Enable FP16 by default for Armv9-A. Signed-off-by: Sundeep KOKKONDA --- meta/recipes-devtools/binutils/binutils-2.38.inc | 2 +- 1 file changed,

[OE-core][dunfell 00/14] Pull request (cover letter only)

2022-07-12 Thread Steve Sakoman
The following changes since commit b75caf4a985e3c20996531785125eaffdc832104: insane.bbclass: host-user-contaminated: Correct per package home path (2022-06-29 05:15:49 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next

[OE-core] Yocto Project Status 12 July 2022 (WW28)

2022-07-12 Thread Neal Caidin
Current Dev Position: YP 4.1 M2 Next Deadline: 11th July 2022 YP 4.1 M2 Build Next Team Meetings: - Bug Triage meeting Thursday July 14th 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) - Weekly Project Engineering Sync Tuesday July 12th at 8 am

[OE-core] [poky][master][kirkstone][PATCH 2/2] cve-check.bbclass: Add new variable 'CVE_CHECK_WITH_DB'

2022-07-12 Thread akash hadke via lists.openembedded.org
Introduce a new variable 'CVE_CHECK_WITH_DB' default set to '0', when it is set to non zero value it avoids CVE scan for unpatched CVEs from NVD DB. It will work as the second operational mode for cve-check.bbclass which only exports the data. Signed-off-by: Akash Hadke ---

[OE-core] [poky][master][kirkstone][PATCH 1/2] cve-check.bbclass: Add anonymous function to get patched CVEs from recipe

2022-07-12 Thread akash hadke via lists.openembedded.org
Add an anonymous function to get patched CVEs from the recipe and set the value to 'CVE_PATCHED' variable This variable later can be used to do CVE data processing outside of bitbake Signed-off-by: Akash Hadke --- meta/classes/cve-check.bbclass | 8 1 file changed, 8 insertions(+)

[OE-core] Project Opportunity Embedded Linux Yocto

2022-07-12 Thread Beatrice Henze via lists.openembedded.org
Hello, I am not sure who to contact, but I have a project and would like to ask if somebody can support our client? Currently I am looking for 2 freelance positions in the embedded development for a client: 1. For our client we are looking for a freelance Embedded Linux Engineer (m/f/d) with

Re: [OE-core] [PATCH] u-boot: upgrade 2022.04 -> 2022.07

2022-07-12 Thread Sakib Sajal
On 2022-07-12 04:41, ZHIZHIKIN Andrey wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] Hello Sakib, Alex just chased me up, but nevertheless... -Original Message- From: Sakib Sajal Sent: Tuesday, July 12, 2022 4:37 AM To: openembedded-core@lists.openembedded.org

[OE-core] [PATCH][V2] u-boot: upgrade 2022.04 -> 2022.07

2022-07-12 Thread Sakib Sajal
License change came due to U-Boot commit: fba0882bcd Add valgrind headers to U-Boot Signed-off-by: Sakib Sajal --- meta/recipes-bsp/u-boot/u-boot-common.inc | 4 ++-- .../{u-boot-tools_2022.04.bb => u-boot-tools_2022.07.bb} | 0 .../u-boot/{u-boot_2022.04.bb =>

Re: [OE-core] [PATCH 0/4] devtool fixes

2022-07-12 Thread Richard Purdie
On Mon, 2022-07-11 at 21:06 -0700, Paul Eggleton wrote: > A few fixes for devtool, mostly relating to recipes that fetch from git > where S points to a subdirectory of the repo. > > Note: I wasn't 100% sure if it was appropriate to be referencing WORKDIR > in patch.py; let me know if I should try

Re: [OE-core] [PATCH] ltp: fix builds when host ld doesn't know about target ELF formats

2022-07-12 Thread Khem Raj
the ltp patch is upstream worthy. Have you thought about sending it to the ltp community ? On Tue, Jul 12, 2022 at 3:37 PM Ross Burton wrote: > > The kvm tests use the host ld, which doesn't necessarily know about the > target ELF format. It should be using the cross ld we built, so call >

[OE-core] [PATCH] linux-yocto/5.10: fix build_OID_registry/conmakehash buildpaths warning

2022-07-12 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.10: 4d201ec392f1 vt/conmakehash: improve reproducibility ae24d013888f lib/build_OID_registry: fix reproducibility issues Signed-off-by: Bruce Ashfield --- .../linux/linux-yocto-rt_5.10.bb | 4 ++--

[OE-core] [PATCH] ltp: fix builds when host ld doesn't know about target ELF formats

2022-07-12 Thread Ross Burton
The kvm tests use the host ld, which doesn't necessarily know about the target ELF format. It should be using the cross ld we built, so call $(LD) instead. Signed-off-by: Ross Burton --- ...-kvm-use-LD-instead-of-hardcoding-ld.patch | 37 +++

Re: [OE-core] Project Opportunity Embedded Linux Yocto

2022-07-12 Thread Khem Raj
Beatrice, You could use the job postings portal to post these jobs if they need Yocto/OE skills on yocto project as well. The link is here https://www.yoctoproject.org/community/jobs/ On Tue, Jul 12, 2022 at 3:50 PM Beatrice Henze via lists.openembedded.org wrote: > Hello, > > > > I am not

Re: [OE-core] [PATCH] systemd: add usrmerge to REQUIRED_DISTRO_FEATURES

2022-07-12 Thread Luca Bocassi
On Mon, 11 Jul 2022 at 23:06, Richard Purdie wrote: > > On Mon, 2022-07-11 at 21:29 +0100, Luca Bocassi wrote: > > From: Luca Boccassi > > > > Support for unmerged-usr is deprecated upstream, taints the system and will > > be > > removed in the near future. > > Enforce building merged-usr

Re: [OE-core] [PATCH 0/4] devtool fixes

2022-07-12 Thread Paul Eggleton
On Tue, Jul 12, 2022 at 04:59:38PM +0100, Richard Purdie wrote: > On Mon, 2022-07-11 at 21:06 -0700, Paul Eggleton wrote: > > A few fixes for devtool, mostly relating to recipes that fetch from git > > where S points to a subdirectory of the repo. > > > > Note: I wasn't 100% sure if it was

Re: [OE-core] [PATCH] package.bbclass: Avoid stripping signed kernel modules in splitdebuginfo

2022-07-12 Thread Christoph Lauer
Thank you for your input. The package function 'is_elf' can perform the check if the current file is a kernel module. I will add another condition to the patch. Am 11.07.22 um 10:29 schrieb Richard Purdie: On Sun, 2022-07-10 at 17:36 +0200, Christoph Lauer wrote: From: Christoph Lauer Since

Re: [OE-core] [PATCH] kernel-fitimage.bbclass: add padding algorithm property in config nodes

2022-07-12 Thread Alexandre Belloni via lists.openembedded.org
Hello Luis, On 12/07/2022 09:59:08+0200, Luis Enriquez wrote: > This allows choosing padding algorithm when building fitImage. It may be > pkcs-1.5 or pss. > > Signed-off-by: LUIS ENRIQUEZ This has to match the From: header. The solution is the either send that from your se.com address or add

Re: [OE-core] [PATCH v2] package.bbclass: Avoid stripping signed kernel modules in splitdebuginfo

2022-07-12 Thread Richard Purdie
On Wed, 2022-07-13 at 00:29 +0200, Christoph Lauer wrote: > From: Christoph Lauer > > Since commit d756b346f248df47b0540644adb1d0f17bcc4b6e kernel modules are > stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules > must not be stripped. Function 'runstrip' avoids this by

Re: [OE-core] [PATCH] systemd: add usrmerge to REQUIRED_DISTRO_FEATURES

2022-07-12 Thread Luca Bocassi
On Tue, 12 Jul 2022 at 22:55, Richard Purdie wrote: > > On Tue, 2022-07-12 at 18:16 +0100, Luca Boccassi wrote: > > On Mon, 11 Jul 2022 at 23:06, Richard Purdie > > wrote: > > > > > > On Mon, 2022-07-11 at 21:29 +0100, Luca Bocassi wrote: > > > > From: Luca Boccassi > > > > > > > > Support for

Re: [OE-core] [PATCH] systemd: add usrmerge to REQUIRED_DISTRO_FEATURES

2022-07-12 Thread Richard Purdie
On Tue, 2022-07-12 at 18:16 +0100, Luca Boccassi wrote: > On Mon, 11 Jul 2022 at 23:06, Richard Purdie > wrote: > > > > On Mon, 2022-07-11 at 21:29 +0100, Luca Bocassi wrote: > > > From: Luca Boccassi > > > > > > Support for unmerged-usr is deprecated upstream, taints the system and > > >

[OE-core] [PATCH v2] package.bbclass: Avoid stripping signed kernel modules in splitdebuginfo

2022-07-12 Thread Christoph Lauer
From: Christoph Lauer Since commit d756b346f248df47b0540644adb1d0f17bcc4b6e kernel modules are stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules must not be stripped. Function 'runstrip' avoids this by running is_kernel_module_signed. Apply the same check to

Re: [OE-core] Reproducible build issues with buildpaths - take 2

2022-07-12 Thread Alejandro Hernandez Samaniego
On 7/12/22 06:31, Bruce Ashfield wrote: On Tue, Jul 12, 2022 at 6:44 AM Richard Purdie wrote: On Mon, 2022-07-11 at 00:06 -0300, Bruce Ashfield wrote: On Sun, Jul 10, 2022 at 11:27 PM Bruce Ashfield via lists.openembedded.org wrote: On Sun, Jul 10, 2022 at 9:29 PM Bruce Ashfield via

[OE-core] [PATCH v2 3/3] oe-selftest: devtool: test modify git recipe building from a subdir

2022-07-12 Thread Paul Eggleton
From: Paul Eggleton Add a test that verifies that devtool modify + devtool finish do the right thing on a recipe that fetches from git and sets S to point to a subdirectory of the source tree. We have a few examples among the core recipes, dos2unix is a convenient one so let's use that. (The

[OE-core] [PATCH v2 2/3] devtool: finish: handle patching when S points to subdir of a git repo

2022-07-12 Thread Paul Eggleton
From: Paul Eggleton If devtool finish needs to create a patch and have it applied to the sources for a recipe where S points to a subdirectory of the sources, then the patch needs to be applied at the root of the repo i.e. we need to add a patchdir= parameter to the SRC_URI entry.

[OE-core] [PATCH v2 1/3] patch: handle if S points to a subdirectory of a git repo

2022-07-12 Thread Paul Eggleton
From: Paul Eggleton If PATCHTOOL = "git", SRC_URI fetches from a git repo and S points to a subdirectory of the checked out sources, then we were erroneously initialising the subdirectory as its own git repo. Check if the returned top-level repo directory is a subdirectory of WORKDIR and do not

[OE-core] [PATCH v2 0/3] devtool fixes

2022-07-12 Thread Paul Eggleton
A few fixes for devtool, mostly relating to recipes that fetch from git where S points to a subdirectory of the repo. Changes since v1: * Fixed erroneous addition of a separator when not needed (which broke one of the other devtool tests) * Fixed missing separator before patchdir= when updating