Re: [OE-core] [PATCH] go-mod.bbclass: Set GO_MOD_CACHE_DIR

2024-09-12 Thread Peter Kjellerstedt
[I can’t reply inline due to the HTML-formatting.] I believe the goal is to have pkg/mod as a subdirectory of ${S}. At the same time, ${GO_MOD_CACHE_DIR} needs to be a relative path (as it is passed to the fetcher via the subdir= parameter). However, the suggested code only works for cases wher

Re: [OE-core] [PATCH v3 2/2] lib/buildcfg: Add is_bitbake_in_separate_repo()

2024-09-11 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Robert Yang via > lists.openembedded.org > Sent: den 11 september 2024 16:36 > To: openembedded-core@lists.openembedded.org > Cc: alex.kana...@gmail.com > Subject: [OE-core] [PATCH v3 2/2] lib/buildcfg:

[OE-core] [scarthgap][PATCH 2/2] bluez5: Install /etc/bluetooth/main.conf

2024-09-09 Thread Peter Kjellerstedt
This matches what is installed in /etc/bluetooth by bluez 5.73+. Also remove the if-statements testing the existence of the other files installed to /etc/bluetooth as they are not needed (the files have existed since bluez 4.0). Signed-off-by: Peter Kjellerstedt --- meta/recipes-connectivity

[OE-core] [scarthgap][PATCH 1/2] Revert "bluez5: remove configuration files from install task"

2024-09-09 Thread Peter Kjellerstedt
5.73 while the recipe is only at 5.72. Signed-off-by: Peter Kjellerstedt --- meta/recipes-connectivity/bluez5/bluez5.inc | 8 1 file changed, 8 insertions(+) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index a31d7076ba..e10158a

[OE-core] [PATCH] systemd: Remove a leftover reference to ${datadir}/mime

2024-09-04 Thread Peter Kjellerstedt
${MIMEDIR} (aka ${datadir}/mime) is packaged in ${PN}-mime and the reference to ${datadir}/mime/packages/io.systemd.xml for FILES:${PN} should have been removed in commit 5560243137f772683e53b614f134dd632b62be8b. Signed-off-by: Peter Kjellerstedt --- meta/recipes-core/systemd/systemd_256.5.bb

Re: [OE-core] [PATCH 2/3] bitbake.conf: add getopt to HOSTTOOLS

2024-09-02 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Mikko Rapeli > Sent: den 2 september 2024 11:41 > To: openembedded-core@lists.openembedded.org > Cc: Mikko Rapeli > Subject: [OE-core] [PATCH 2/3] bitbake.conf: add getopt to HOSTTOOLS You are adding ge

Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-09-01 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 1 september 2024 13:31 > To: Peter Kjellerstedt ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage > > On Sun, 2024-09-01 at 11:21 +,

Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-09-01 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 28 augusti 2024 18:15 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage > > Drop the oe.qa.add_message() usage in

Re: [OE-core] [PATCH] abi-version/ssate: Bump to avoid systemd hash corruption issue

2024-09-01 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 1 september 2024 09:19 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] abi-version/ssate: Bump to avoid systemd hash > corruption issue > > Unfortu

Re: [OE-core] [PATCHv2 2/2] oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

2024-08-24 Thread Peter Kjellerstedt
> -Original Message- > From: Alexandre Belloni > Sent: den 24 augusti 2024 14:55 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCHv2 2/2] oeqa/selftest/bbclasses: Add tests > for systemd and update-rc.d i

[OE-core] [PATCHv2 2/2] oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

2024-08-23 Thread Peter Kjellerstedt
These tests verify that the correct files are left behind when systemd is inherited and depending on whether the systemd and/or sysvinit distro features are enabled. Signed-off-by: Peter Kjellerstedt --- PATCHv2: * Change LICENSE to MIT for the test recipes. * Add EXCLUDE_FROM_WORLD to the test

[OE-core] [PATCHv2 1/2] systemd.bbclass: Clean up empty parent directories

2024-08-23 Thread Peter Kjellerstedt
the cleanup and would be packaged. Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting them in shell, and use rmdir -p to remove all empty parent directories. Signed-off-by: Peter Kjellerstedt --- PATCHv2: * Rewrote rm_systemd_unitdir() to avoid having `rmdir -p` potentially

[OE-core] [PATCHv2 2/2] oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

2024-08-20 Thread Peter Kjellerstedt
These tests verify that the correct files are left behind when systemd is inherited and depending on whether the systemd and/or sysvinit distro features are enabled. Signed-off-by: Peter Kjellerstedt --- PATCHv2: Change LICENSE to MIT and add EXCLUDE_FROM_WORLD to the test recipes

[OE-core] [PATCHv2 1/2] systemd.bbclass: Clean up empty parent directories

2024-08-20 Thread Peter Kjellerstedt
the cleanup and would be packaged. Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting them in shell, and use rmdir -p to remove all empty parent directories. Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. meta/classes-recipe/systemd.bbclass | 46

[OE-core] [PATCH 2/2] oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction

2024-08-20 Thread Peter Kjellerstedt
These tests verify that the correct files are left behind when systemd is inherited and depending on whether the systemd and/or sysvinit distro features are enabled. Signed-off-by: Peter Kjellerstedt --- .../bbclasses/systemd-and-sysvinit.bb | 15 +++ .../recipes-test/bbclasses/systemd

[OE-core] [PATCH 1/2] systemd.bbclass: Clean up empty parent directories

2024-08-20 Thread Peter Kjellerstedt
the cleanup and would be packaged. Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting them in shell, and use rmdir -p to remove all empty parent directories. Signed-off-by: Peter Kjellerstedt --- meta/classes-recipe/systemd.bbclass | 46 + 1 file

Re: [OE-core] [PATCH v4] util-linux: Add PACKAGECONFIG option to mitigate rootfs remount error

2024-08-19 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Niko Mauno via > lists.openembedded.org > Sent: den 19 augusti 2024 12:10 > To: openembedded-core@lists.openembedded.org > Cc: Niko Mauno > Subject: [OE-core] [PATCH v4] util-linux: Add PACKAGECONFIG op

Re: [OE-core][PATCH v2] python3: skip readline limited history tests

2024-08-14 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Chen Qi via > lists.openembedded.org > Sent: den 14 augusti 2024 17:02 > To: Trevor Gamblin ; openembedded- > c...@lists.openembedded.org; Khem Raj > Cc: alex.kana...@gmail.com;

[OE-core] [PATCH] license_image.bbclass: Rename license-incompatible to license-exception

2024-08-12 Thread Peter Kjellerstedt
INCOMPATIBLE_LICENSE_EXCEPTIONS variable). To better match how it is used and to distinguish it from incompatible-license, rename it to license-exception. Signed-off-by: Peter Kjellerstedt --- meta/classes-global/insane.bbclass | 2 +- meta/classes-recipe/license_image.bbclass| 2

Re: [OE-core] [PATCH v2 1/2] buildhistory: fix package output folder creation

2024-08-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Richard Purdie > Sent: den 7 augusti 2024 18:44 > To: alexandre.bell...@bootlin.com; > pedro.silva.ferre...@criticaltechworks.com > Cc: openembedded-core@lists.openembedded.org >

Re: [OE-core] [PATCH] archiver.bbclass: fix BB_GENERATE_MIRROR_TARBALLS checking

2024-08-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Enrico Jörns > Sent: den 8 augusti 2024 13:04 > To: openembedded-core@lists.openembedded.org > Cc: yo...@pengutronix.de > Subject: [OE-core] [PATCH] archiver.bbclass: fix BB_GENERATE_MIRROR_TARBALLS > ch

[OE-core] [PATCH 2/2] systemd: Move the MIME file to a separate package

2024-07-17 Thread Peter Kjellerstedt
The systemd-mime package is added as a recommendation for systemd so that it is installed by default, but can be excluded, e.g., via BAD_RECOMMENDATIONS. Excluding it avoids pulling in the MIME database for products that have no use for it. Signed-off-by: Peter Kjellerstedt --- meta/recipes

[OE-core] [PATCH 1/2] systemd: Correct the indentation in do_install()

2024-07-17 Thread Peter Kjellerstedt
There was a mix of using tabs and spaces for indentation. Signed-off-by: Peter Kjellerstedt --- meta/recipes-core/systemd/systemd_256.bb | 27 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_256.bb b/meta/recipes-core

Re: [OE-core] [PATCH] expect-native: fix build with gcc-14

2024-06-13 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 13 juni 2024 23:59 > To: Peter Kjellerstedt ; > changqing...@windriver.com; openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] expect-native: fix build with gcc-14 > > On Thu, 2024-06-

Re: [OE-core] [PATCH] expect-native: fix build with gcc-14

2024-06-13 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 13 juni 2024 10:40 > To: changqing...@windriver.com; openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] expect-native: fix build with gcc-14 > > On Thu,

Re: [OE-core] Patchtest results for [PATCH v2 1/2] ccache: 4.9.1 -> 4.10

2024-06-12 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Robert Yang via > lists.openembedded.org > Sent: den 12 juni 2024 07:54 > To: patcht...@automation.yoctoproject.org > Cc: openembedded-core@lists.openembedded.org > Subject: Re:

[OE-core] [scarthgap][PATCH 2/3] oeqa/selftest/devtool: add test for modifying recipes using go.bbclass

2024-06-11 Thread Peter Kjellerstedt
fab0c737b95b8d0c0bbf58336bc308776c956406) Signed-off-by: Peter Kjellerstedt --- meta/lib/oeqa/selftest/cases/devtool.py | 19 +++ 1 file changed, 19 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 51949e3c93

[OE-core] [scarthgap][PATCH 1/3] devtool: modify: Catch git submodule error for go code

2024-06-11 Thread Peter Kjellerstedt
from commit fe242408af40dd1f6e47d9b2b232bdc76756c80a) Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 10d0cd3b7c..2beb058de8 100644

[OE-core] [scarthgap][PATCH 3/3] base-files: profile: fix error sh: 1: unknown operand

2024-06-11 Thread Peter Kjellerstedt
From: Felix Nilsson Handle errors when SHLVL isn't set. Signed-off-by: Felix Nilsson Signed-off-by: Richard Purdie (cherry picked from commit 5df53fcfe3b70a5312fced3fcc1ba6290f2ee794) Signed-off-by: Peter Kjellerstedt --- meta/recipes-core/base-files/base-files/profile | 2 +- 1

Re: [OE-core] [PATCH] base/bitbake.conf: use default assigment for UNPACKDIR

2024-05-31 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 31 maj 2024 12:57 > To: samuli.pii...@gmail.com; openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] base/bitbake.conf: use default assigment for > UNPACK

Re: [OE-core] [PATCH] tzdata: Add tzdata.zi to tzdata-core package

2024-05-30 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Simone Weiß > Sent: den 30 maj 2024 01:13 > To: openembedded-core@lists.openembedded.org > Cc: Simone Weiß > Subject: [OE-core] [PATCH] tzdata: Add tzdata.zi to tzdata-core package > > From: Simone Weiß

Re: [PATCH] [OE-core][scarthgap] rust: remove unnecessary git signature

2024-05-27 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 27 maj 2024 18:46 > To: 이재규 > Cc: jaekyu@lge.com; openembedded-core@lists.openembedded.org > Subject: Re: [PATCH] [OE-core][scarthgap] rust: re

Re: [OE-core] [PATCH 1/3] base: Switch UNPACKDIR to a subdir of WORKDIR

2024-05-22 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 22 maj 2024 11:28 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 1/3] base: Switch UNPACKDIR to a subdir of WORKDIR > > Change do_unpack to unpack f

Re: [OE-core] [PATCH v4] ipk/rootfs: run sanity test of multilib in parallel

2024-05-16 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Seungkyun Kim > Sent: den 16 maj 2024 02:12 > To: openembedded-core@lists.openembedded.org > Cc: seungkyun.kim > Subject: [OE-core] [PATCH v4] ipk/rootfs: run sanity test of multilib in > parallel > >

Re: [OE-core] [PATCH] devtool: modify: Catch git submodule error for go code

2024-05-15 Thread Peter Kjellerstedt
Steve, please cherry-pick this to Scarthgap. //Peter > -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Ola x Nilsson > Sent: den 14 maj 2024 11:56 > To: openembedded-core@lists.openembedded.org > Cc: Ola x Nilsson > Subject: [OE-core] [PATCH] devtool:

Re: [OE-core] [PATCH 05/10] base: Switch UNPACKDIR to a subdir of WORKDIR

2024-05-15 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 15 maj 2024 13:56 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 05/10] base: Switch UNPACKDIR to a subdir of WORKDIR > > Change do_unpack to unpack

Re: [OE-core][PATCH 2/3] kbd: remove non-free Agafari fonts

2024-04-13 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Richard Purdie > Sent: den 13 april 2024 12:47 > To: peter.ma...@siemens.com; Khem Raj > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH 2/3] kbd: re

Re: [OE-core] [PATCH] Replaced :append with += in multiple recipe files under meta layer.

2024-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of K Sanjay Nayak > Sent: den 12 april 2024 08:06 > To: openembedded-core@lists.openembedded.org > Cc: K Sanjay Nayak > Subject: [OE-core] [PATCH] Replaced :append with += in multiple recipe files > under

Re: [OE-core] [PATCH v2] devtool: standard: throws appropriate error if source is in detached HEAD

2024-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: Julien Stephan > Sent: den 11 april 2024 16:20 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH v2] devtool: standard: throws appropriate error > if source is in detached HEAD >

Re: [OE-core] [PATCH v2] devtool: standard: throws appropriate error if source is in detached HEAD

2024-04-10 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Julien Stephan > Sent: den 10 april 2024 09:07 > To: openembedded-core@lists.openembedded.org > Cc: Julien Stephan > Subject: [OE-core] [PATCH v2] devtool: standard: throws appropriate error if > source

Re: [OE-core] [PATCH] devtool: standard: throws appropriate error if source is in detached HEAD

2024-04-09 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Julien Stephan > Sent: den 9 april 2024 09:19 > To: openembedded-core@lists.openembedded.org > Cc: Julien Stephan > Subject: [OE-core] [PATCH] devtool: standard: throws appropriate error if > source is

Re: [OE-core] [PATCH] util-linux: Set the license for util-linux-fcntl-lock to MIT

2024-04-04 Thread Peter Kjellerstedt
> -Original Message- > From: Alexandre Belloni > Sent: den 4 april 2024 01:45 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] util-linux: Set the license for > util-linux-fcntl-lock to MIT > > Hello, &

Re: [OE-core] New mailing list for layer patches

2024-04-02 Thread Peter Kjellerstedt
> -Original Message- > From: yo...@lists.yoctoproject.org On > Behalf Of Ross Burton > Sent: den 28 mars 2024 15:37 > To: openembedded-architecture architect...@lists.openembedded.org>; Yocto-mailing-list > ; OE-core c...@lists.openembedded.org> > Subject: [yocto] New mailing list for la

[OE-core] [PATCH] util-linux: Set the license for util-linux-fcntl-lock to MIT

2024-04-01 Thread Peter Kjellerstedt
This avoids problems if BSD-4-Clause is in INCOMPATIBLE_LICENSE since util-linux-fcntl-lock is now a dependency of run-postinsts. Signed-off-by: Peter Kjellerstedt --- meta/recipes-core/util-linux/util-linux.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/util-linux

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 7 mars 2024 17:11 > To: Peter Kjellerstedt > Cc: Khem Raj ; Martin Jansa ; > openembedded-core@lists.openembedded.org &g

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Khem Raj > Sent: den 28 februari 2024 19:30 > To: Martin Jansa > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] glib-2.0: backport a switch from d

Re: [OE-core] [PATCH V2] dnf: remove log_lock.pid before exit

2024-03-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 7 mars 2024 12:42 > To: qi.c...@windriver.com > Cc: Li, Changqing ; Richard Purdie > ; openembedded- > c...@lists.openembedded.org > Subject: Re: [O

Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class

2024-03-04 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 4 mars 2024 18:39 > To: Peter Kjellerstedt ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class > > On Mon, 2024-03-04 at 17:20 +,

Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class

2024-03-04 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 4 mars 2024 17:17 > To: Peter Kjellerstedt ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class > > On Mon, 2024-03-04 at 16:57 +0100,

[OE-core] [PATCH 2/2] kernel-module-split.bbclass: Inherit kernel-module-dirs

2024-03-04 Thread Peter Kjellerstedt
The two variables modulesloaddir and modprobedir have been moved to their own bbclass, kernel-module-dirs. Signed-off-by: Peter Kjellerstedt --- meta/classes-recipe/kernel-module-split.bbclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/classes-recipe/kernel

[OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class

2024-03-04 Thread Peter Kjellerstedt
Split out the two variables modulesloaddir and modprobedir from kernel-module-split.bbclass as they can be useful to other recipes than kernel module recipes. Signed-off-by: Peter Kjellerstedt --- meta/classes-recipe/kernel-module-dirs.bbclass | 8 1 file changed, 8 insertions

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Alexander Kanavin > Sent: den 29 februari 2024 10:01 > To: Changqing Li > Cc: Changqing Li ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH V5] systemd: fix a dead link under

Re: [OE-core] [PATCHv2 5/5] lib/oe/patch: Use git notes to store the filenames for the patches

2024-02-19 Thread Peter Kjellerstedt
> -Original Message- > From: Ross Burton > Sent: den 19 februari 2024 13:56 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCHv2 5/5] lib/oe/patch: Use git notes to store > the filenames for the patches > &g

Re: [OE-core] [PATCHv2 3/5] devtool: Make use of oe.patch.GitApplyTree.commitIgnored()

2024-02-19 Thread Peter Kjellerstedt
> -Original Message- > From: Ross Burton > Sent: den 19 februari 2024 13:54 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCHv2 3/5] devtool: Make use of > oe.patch.GitApplyTree.commitIgnored() > > On 1

[OE-core] [PATCHv2 5/5] lib/oe/patch: Use git notes to store the filenames for the patches

2024-02-18 Thread Peter Kjellerstedt
ts is also changed to use Git notes to avoid having different methods to store similar information. Signed-off-by: Peter Kjellerstedt --- PATCHv2: * Remove the --fixed-value option from calls to git config. It was added in Git version 2.30, but OE Core currently only requires Git version 1.8.3

[OE-core] [PATCHv2 2/5] lib/oe/patch: Add GitApplyTree.commitIgnored()

2024-02-18 Thread Peter Kjellerstedt
This function can be used to create a commit that devtool will ignore when creating/updating the patches. Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. meta/lib/oe/patch.py | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py

[OE-core] [PATCHv2 1/5] lib/oe/patch: Make extractPatches() not extract ignored commits

2024-02-18 Thread Peter Kjellerstedt
n a recipe. This also adds a new test for oe-selftest that verifies that there are no patches generated from ignored commits. Signed-off-by: Peter Kjellerstedt --- PATCHv2: Add EXCLUDE_FROM_WORLD = "1" to the sysdig-selftest recipe. .../0055-Add-cstdint-for-uintXX_t-types.patch | 38 +

[OE-core] [PATCHv2 3/5] devtool: Make use of oe.patch.GitApplyTree.commitIgnored()

2024-02-18 Thread Peter Kjellerstedt
This makes use of the oe.patch.GitApplyTree.commitIgnored() function to create commits that shall be ignored by `devtool finish`. Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. scripts/lib/devtool/__init__.py | 4 +--- scripts/lib/devtool/standard.py | 6 +- 2 files changed, 2

[OE-core] [PATCHv2 4/5] patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()

2024-02-18 Thread Peter Kjellerstedt
This makes use of the oe.patch.GitApplyTree.commitIgnored() function to create commits that shall be ignored by `devtool finish`. Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. meta/classes-global/patch.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a

Re: [OE-core] [PATCH 7/7] lib/oe/patch: Use git notes to store the filenames for the patches

2024-02-18 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 17 februari 2024 13:34 > To: Peter Kjellerstedt ; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 7/7] lib/oe/patch: Use git notes to store > the filenames for the patches > >

Re: [OE-core] [PATCH V4] systemd: fix a dead link under /var/log

2024-02-18 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Changqing Li > Sent: den 18 februari 2024 06:41 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH V4] systemd: fix a dead link under /var/log > > From: Changqing Li > > Commit

[OE-core] [PATCH 7/7] lib/oe/patch: Use git notes to store the filenames for the patches

2024-02-16 Thread Peter Kjellerstedt
ts is also changed to use Git notes to avoid having different methods to store similar information. Signed-off-by: Peter Kjellerstedt --- meta/lib/oe/patch.py| 105 +++- meta/lib/oeqa/selftest/cases/devtool.py | 9 +- scripts/lib/devtool/standard.py

[OE-core] [PATCH 1/7] devtool: standard: Add some missing whitespace

2024-02-16 Thread Peter Kjellerstedt
Makes it a little bit easier when reading the code. Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index

[OE-core] [PATCH 3/7] lib/oe/patch: Make extractPatches() not extract ignored commits

2024-02-16 Thread Peter Kjellerstedt
n a recipe. This also adds a new test for oe-selftest that verifies that there are no patches generated from ignored commits. Signed-off-by: Peter Kjellerstedt --- .../0055-Add-cstdint-for-uintXX_t-types.patch | 38 +++ ...099-cmake-Pass-PROBE_NAME-via-CFLAGS.patch | 29 + .../sys

[OE-core] [PATCH 5/7] devtool: Make use of oe.patch.GitApplyTree.commitIgnored()

2024-02-16 Thread Peter Kjellerstedt
This makes use of the oe.patch.GitApplyTree.commitIgnored() function to create commits that shall be ignored by `devtool finish`. Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/__init__.py | 4 +--- scripts/lib/devtool/standard.py | 6 +- 2 files changed, 2 insertions(+), 8

[OE-core] [PATCH 6/7] patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()

2024-02-16 Thread Peter Kjellerstedt
This makes use of the oe.patch.GitApplyTree.commitIgnored() function to create commits that shall be ignored by `devtool finish`. Signed-off-by: Peter Kjellerstedt --- meta/classes-global/patch.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/classes-global

[OE-core] [PATCH 4/7] lib/oe/patch: Add GitApplyTree.commitIgnored()

2024-02-16 Thread Peter Kjellerstedt
This function can be used to create a commit that devtool will ignore when creating/updating the patches. Signed-off-by: Peter Kjellerstedt --- meta/lib/oe/patch.py | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 70cdb1d9c0

[OE-core] [PATCH 2/7] devtool: _extract_source: Correct the removal of an old backup directory

2024-02-16 Thread Peter Kjellerstedt
Also correct the comment describing what is happening. Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index dd9232da1c

Re: [OE-core] [PATCH 0/6] devtool: ide: Improve VSCode support

2024-02-15 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 15 februari 2024 18:11 > To: Enguerrand de Ribaucourt ; > openembedded-core@lists.openembedded.org > Cc: adrian.freiho...@gmail.com; ross.bur...@arm.com; > mohammed.r...@savoi

[OE-core] [PATCH] devtool: modify: Correct appending of type=git-dependency to URIs

2024-02-15 Thread Peter Kjellerstedt
A missing space when using :append would lead to run-on URIs if there was no whitespace at the end of the original SRC_URI. Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool

Re: [OE-core] [PATCH 1/2] create-spdx-2.2: Correct the default value of SPDX_NAMESPACE_PREFIX

2024-02-15 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexandre Belloni via > lists.openembedded.org > Sent: den 15 februari 2024 10:26 > To: belouargamoha...@gmail.com > Cc: openembedded-core@lists.openembedded.org; > f.lahoud...@t

Re: [OE-core] [PATCH] insane.bbclass: Allow the warning about virtual/ to be disabled

2024-01-22 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 22 januari 2024 15:02 > To: Peter Kjellerstedt ; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] insane.bbclass: Allow the warning about > virtual/ to be disabled > > On Mon

[OE-core] [PATCH] insane.bbclass: Allow the warning about virtual/ to be disabled

2024-01-21 Thread Peter Kjellerstedt
Commit f673d3d239799fb1ab50f4aa5d44187666aa0cd7 introduced a warning for virtual/ being used in RPROVIDES and RDEPENDS. Make it possible to disable the warning by removing "virtual-slash from WARN_QA. Signed-off-by: Peter Kjellerstedt --- meta/classes-global/insane.bbclass | 13 +++

[OE-core] [PATCH] devtool: modify: Handle recipes with a menuconfig task correctly

2023-12-15 Thread Peter Kjellerstedt
WARNING: .../temp/run.do_configure.4163366:152 exit 1 from '[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]' Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [OE-core] [PATCH 2/2] staging: ensure postinst-useradd is run in order

2023-12-13 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Eilís 'pidge' Ní > Fhlannagáin > Sent: den 12 december 2023 18:17 > To: openembedded-core@lists.openembedded.org > Cc: Eilís 'pidge' Ní Fhlannagáin > Subject: [OE-core] [PATCH 2/2] staging: ensure posti

Re: [OE-core] [PATCH] recipetool: pypi: do not clobber SRC_URI checksums

2023-12-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Tim Orling > Sent: den 9 december 2023 02:37 > To: openembedded-core@lists.openembedded.org > Cc: Tim Orling > Subject: [OE-core] [PATCH] recipetool: pypi: do not clobber SRC_URI checksums > > The pypi

Re: [OE-core] [PATCH 4/6] gnu-config: add a do_compile task

2023-12-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 8 december 2023 12:35 > To: Alexander Kanavin ; > openembedded-core@lists.openembedded.org > Cc: Alexander Kanavin > Subject: Re: [OE-core] [PATCH 4/6] gnu-config: add a do_co

Re: [OE-core] [PATCH 4/6] recipetool: add python_maturin support

2023-12-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Tim Orling > Sent: den 8 december 2023 00:13 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 4/6] recipetool: add python_maturin support > > Add the new python_maturin PEP-517

Re: [OE-core] [PATCH 2/5] base-files: update dirs1777 and volatiles according to VOLATILE_TMP_DIR

2023-12-08 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Changqing Li > Sent: den 8 december 2023 11:13 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 2/5] base-files: update dirs1777 and volatiles > according to VOLATILE_TMP_DIR >

[OE-core] [PATCHv3 7/9] recipetool: create: Only include the expected SRC_URI checksums

2023-12-07 Thread Peter Kjellerstedt
Rather than including all SRC_URI checksums, include the ones that are expected. These are the same as are output if no checksums are included when building the recipe. Signed-off-by: Peter Kjellerstedt --- This is based on abelloni/master-next. meta/lib/oeqa/selftest/cases/recipetool.py | 2

Re: [OE-core] [kirkstone][PATCH 2/4] base-passwd: Add PW_SUBDIR

2023-12-07 Thread Peter Kjellerstedt
> -Original Message- > From: Joakim Tjernlund > Sent: den 7 december 2023 09:48 > To: openembedded-core@lists.openembedded.org; Peter Kjellerstedt > > Subject: Re: [OE-core] [kirkstone][PATCH 2/4] base-passwd: Add PW_SUBDIR > > On Wed, 2023-12-06 at 20:21 +,

Re: [OE-core] [PATCH v2] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-06 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Yu, Mingli > Sent: den 5 december 2023 06:52 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH v2] openssh: Add PACKAGECONFIG option to customize > sshd mode > > From: Mingli Yu

Re: [OE-core][PATCH] openssh: shrinking to a new PACKAGECONFIG line to set systemd readiness notification support

2023-12-06 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Xiangyu Chen > Sent: den 4 december 2023 08:07 > To: Khem Raj > Cc: quaresma.j...@gmail.com; openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH] openssh: sh

Re: [OE-core] [PATCH] ldconfig-native: Add usrmerge support

2023-12-06 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Johannes Pointner via > lists.openembedded.org > Sent: den 1 december 2023 11:54 > To: openembedded-core@lists.openembedded.org > Cc: Johannes Pointner > Subject: [OE-core] [PATCH] ldconfig-native: Add

[OE-core] [nanbield][PATCH] oeqa/selftest/tinfoil: Add tests that parse virtual recipes

2023-12-06 Thread Peter Kjellerstedt
From: Peter Kjellerstedt Running `devtool search gcc` would result in errors for virtual recipes. The reason was the newly introduced :layer- override. When tinfoil parsed the recipes using the parseRecipeFile() function, it failed to properly identify the layername for virtual recipes, which

[OE-core] [PATCHv2 8/9] devtool: upgrade: Update all existing checksums for the SRC_URI

2023-12-06 Thread Peter Kjellerstedt
In addition to updating the sha256sum and removing the md5sum, update all other existing checksums. If the only existing checksum is md5sum, then replace it with the default expected checksums (currently only sha256sum). Signed-off-by: Peter Kjellerstedt --- [PATCHv2] Updated the commit message

[OE-core] [PATCHv2 0/9] Improvements for devtool/recipetool

2023-12-06 Thread Peter Kjellerstedt
changes that improved git submodule support). [PATCHv2] Update the commit message for patch 8/9 to make it clear(er) that md5sum is still being removed when updating recipes. //Peter Peter Kjellerstedt (9): oeqa/selftest/devtool: Correct git clone of local repository oeqa/selftest/devtool: Avoid

[OE-core] [PATCHv2 6/9] recipetool: create: Improve identification of licenses

2023-12-06 Thread Peter Kjellerstedt
Rather than having a static list of crunched MD5 checksums for some of the most common licenses, calculate it for all common licenses. This should improve the identification of license text variantions. Signed-off-by: Peter Kjellerstedt --- scripts/lib/recipetool/create.py | 91

[OE-core] [PATCHv2 9/9] devtool: modify: Make --no-extract work again

2023-12-06 Thread Peter Kjellerstedt
6, in main ret = args.func(args, config, basepath, workspace) File ".../scripts/lib/devtool/standard.py", line 995, in modify for commit in commits[name]: KeyError: '.' Signed-off-by: Peter Kjellerstedt --- scripts/lib/devtool/standard.py | 3 ++- 1 file chang

[OE-core] [PATCHv2 3/9] oeqa/selftest/devtool: Make test_devtool_load_plugin more resilient

2023-12-06 Thread Peter Kjellerstedt
* Avoid trying to write to read-only directories and file systems. * Support symbolic links in BBPATH. Signed-off-by: Peter Kjellerstedt --- meta/lib/oeqa/selftest/cases/devtool.py | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa

[OE-core] [PATCHv2 7/9] recipetool: create: Only include the expected SRC_URI checksums

2023-12-06 Thread Peter Kjellerstedt
Rather than including all SRC_URI checksums, include the ones that are expected. These are the same as are output if no checksums are included when building the recipe. Signed-off-by: Peter Kjellerstedt --- meta/lib/oeqa/selftest/cases/recipetool.py | 19 --- scripts/lib

[OE-core] [PATCHv2 5/9] lib/oe/recipeutils: Avoid wrapping any SRC_URI[sha*sum] variables

2023-12-06 Thread Peter Kjellerstedt
Before, a variable such as SRC_URI[sha512sum] would end up as: SRC_URI[sha512sum] = "45ff3abce4dab24a8090409e6d7bb26afa7fa7812a51e067 \ 28c2aa47d5b4de610d97ba4609cf13d9173087bd909fdf377235eee988a6fdcf52abb7 \ 0341c40b5b" when updated by patch_recipe_lines(). Signed-off-by: Peter Kj

[OE-core] [PATCHv2 2/9] oeqa/selftest/devtool: Avoid global Git hooks when amending a patch

2023-12-06 Thread Peter Kjellerstedt
To avoid potential problems due to global Git hooks, add --no-verify to a `git commit --amend` command. Signed-off-by: Peter Kjellerstedt --- 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] [PATCHv2 1/9] oeqa/selftest/devtool: Correct git clone of local repository

2023-12-06 Thread Peter Kjellerstedt
objects': Not a directory Signed-off-by: Peter Kjellerstedt --- 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/meta/lib/oeqa/selftest/cases/devtool.py index 2a11886e4b..55bfc24b7c 100644

[OE-core] [PATCHv2 4/9] oeqa/selftest/recipetool: Make test_recipetool_load_plugin more resilient

2023-12-06 Thread Peter Kjellerstedt
* Avoid trying to write to read-only directories and file systems. * Support symbolic links in BBPATH. Signed-off-by: Peter Kjellerstedt --- meta/lib/oeqa/selftest/cases/recipetool.py | 25 +- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa

Re: [OE-core] [kirkstone][PATCH 2/4] base-passwd: Add PW_SUBDIR

2023-12-06 Thread Peter Kjellerstedt
ter > -Original Message- > From: Joakim Tjernlund > Sent: den 29 november 2023 12:11 > To: openembedded-core@lists.openembedded.org; Peter Kjellerstedt > > Subject: Re: [OE-core] [kirkstone][PATCH 2/4] base-passwd: Add PW_SUBDIR > > Hi Peter :) > > All good

Re: [OE-core] [PATCH 8/9] devtool: upgrade: Update all existing checksums for the SRC_URI

2023-12-06 Thread Peter Kjellerstedt
> -Original Message- > From: Alexander Kanavin > Sent: den 6 december 2023 20:26 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 8/9] devtool: upgrade: Update all existing > checksums for the SRC_URI >

[OE-core] [PATCH 1/9] oeqa/selftest/devtool: Correct git clone of local repository

2023-12-06 Thread Peter Kjellerstedt
objects': Not a directory Signed-off-by: Peter Kjellerstedt --- 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/meta/lib/oeqa/selftest/cases/devtool.py index 2a11886e4b..55bfc24b7c 100644

[OE-core] [PATCH 2/9] oeqa/selftest/devtool: Avoid global Git hooks when amending a patch

2023-12-06 Thread Peter Kjellerstedt
To avoid potential problems due to global Git hooks, add --no-verify to a `git commit --amend` command. Signed-off-by: Peter Kjellerstedt --- 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 4/9] oeqa/selftest/recipetool: Make test_recipetool_load_plugin more resilient

2023-12-06 Thread Peter Kjellerstedt
* Avoid trying to write to read-only directories and file systems. * Support symbolic links in BBPATH. Signed-off-by: Peter Kjellerstedt --- meta/lib/oeqa/selftest/cases/recipetool.py | 25 +- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa

  1   2   3   4   5   6   7   8   9   10   >