[OE-core] [PATCH RFC] systemd-repart.bbclass: provide build-time partitioning helper

2024-04-26 Thread Erik Schilling
if [[ -n "${IMAGE_LINK_NAME}" ]] +then +ln -f -s "${image_name}" "${IMAGE_LINK_NAME}.img" +fi +} + +IMAGE_CMD:systemd-repart = "oe_image_systemd_repart" +do_image_systemd_repart[deptask] += "do_unpack" --- base-commit: 9ecb97083efa1b632

Re: [OE-core] [PATCH][master scarthgap] procps: fix build with new glibc but old kernel headers

2024-04-26 Thread Ross Burton
Hold this, v2 incoming. It breaks on clang which exposes another problem with the current code… Ross > On 26 Apr 2024, at 11:40, Ross Burton via lists.openembedded.org > wrote: > > If you're building procps with a newer glibc (with pidfd_open()) but > older kernel headers (say 4.x, before __

Re: [OE-core] [PATCH][master scarthgap] procps: fix build with new glibc but old kernel headers

2024-04-26 Thread Alexander Kanavin
No pending patches please. Alex On Fri 26. Apr 2024 at 12.40, Ross Burton via lists.openembedded.org wrote: > If you're building procps with a newer glibc (with pidfd_open()) but > older kernel headers (say 4.x, before __NR_pidfd_open) then procps will > fail to build because of a typo in confi

[OE-core] [PATCH][master scarthgap] procps: fix build with new glibc but old kernel headers

2024-04-26 Thread Ross Burton
If you're building procps with a newer glibc (with pidfd_open()) but older kernel headers (say 4.x, before __NR_pidfd_open) then procps will fail to build because of a typo in configure.ac. Signed-off-by: Ross Burton --- .../procps/procps/pidfd.patch | 25 +++ met

[OE-core] [PATCH v2 1/2] oeqa/selftest/devtool: fix _test_devtool_add_git_url

2024-04-26 Thread Alexandre Truong
This patch is a follow-up to the bug#15466. As a reminder, the bug was about devtool’s submodule detection checking for HEAD when a version is being passed. As Vincent Kriek pointed out: the --version that is being passed to devtool is only used for setting the PV value in the recipe. To take int

[OE-core] [PATCH v2 2/2] Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"

2024-04-26 Thread Alexandre Truong
This reverts commit ab6d3e3d645ffc343f434bf731339fa237df027a from poky repository. The previous reverted commit was a workaround. The fix "oeqa/selftest/devtool: fix _test_devtool_add_git_url" tackle the issue. So, the workaround is not needed anymore. Signed-off-by: Alexandre Truong Reviewed-by

Re: [OE-core] [PATCH 1/2] Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"

2024-04-26 Thread Alexandre Truong
Yes, you are absolutelty right. In a V2, I will add an explanation for the revert. Alexandre Truong Le ven. 26 avr. 2024 à 10:36, Alexander Kanavin a écrit : > When you revert something, you need to explain why. > > Alex > > On Fri, 26 Apr 2024 at 10:31, Alexandre Truong via > lists.openembedde

Re: [OE-core][PATCH v3] libbsd: Fix conflict error when enable multilib.

2024-04-26 Thread Alexander Kanavin
On Fri, 26 Apr 2024 at 08:55, Maohui Lei (Fujitsu) wrote: > From the build log and the source code of libbsd, I found that libbsd does > provide header file in overlay mode by default as the man page says. > --- > $ ls tmp/work/c

Re: [OE-core] [PATCH 1/2] Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"

2024-04-26 Thread Alexander Kanavin
When you revert something, you need to explain why. Alex On Fri, 26 Apr 2024 at 10:31, Alexandre Truong via lists.openembedded.org wrote: > > This reverts commit ab6d3e3d645ffc343f434bf731339fa237df027a > from poky repository. > > Signed-off-by: Alexandre Truong > Reviewed-by: Yoann Congal > -

[OE-core] [PATCH 1/2] Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"

2024-04-26 Thread Alexandre Truong
This reverts commit ab6d3e3d645ffc343f434bf731339fa237df027a from poky repository. Signed-off-by: Alexandre Truong Reviewed-by: Yoann Congal --- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-core] [PATCH 2/2] oeqa/selftest/devtool: fix _test_devtool_add_git_url

2024-04-26 Thread Alexandre Truong
This patch is a follow-up to the bug#15466. As a reminder, the bug was about devtool’s submodule detection checking for HEAD when a version is being passed. As Vincent Kriek pointed out: the --version that is being passed to devtool is only used for setting the PV value in the recipe. To take int

Re: [OE-core] [RFC][PATCH] oeqa/runtime/cases: new image_upgrade test

2024-04-26 Thread Alexander Kanavin
On Thu, 25 Apr 2024 at 17:46, Michael Opdenacker via lists.openembedded.org wrote: > +++ b/meta/lib/oeqa/runtime/cases/opkg_sysupgrade.py This should perhaps go to meta-selftest/lib/oeqa/runtime/cases/ as it needs special setup via selftest, and not useful in standalone '-c testimage' runs. > +