[OE-core] [PATCH 2/3] systemd: Add link-udev-shared PACKAGECONFIG

2022-02-01 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a PACKAGECONFIG to link systemd-udev and its helpers to libsystemd-shared.so. If enabled the udev package depends on the systemd package. Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-core/systemd/systemd_249.7.bb | 8 +++- 1 file changed, 3

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Hi Richard, Am 03.02.2022 um 22:24 schrieb Richard Purdie via lists.openembedded.org: On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote: When a file can not be identified by checksum and they contain an SPDX License-Identifier tag, use it as the found license. [YOCTO #14529] Tested with

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Hi Saul, Am 03.02.2022 um 18:07 schrieb Saul Wold via lists.openembedded.org: When a file can not be identified by checksum and they contain an SPDX License-Identifier tag, use it as the found license. [YOCTO #14529] Tested with LICENSE files that contain 1 or more SPDX-License-Identifier

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Am 04.02.2022 um 14:41 schrieb Richard Purdie: On Fri, 2022-02-04 at 10:05 +0100, Stefan Herbrechtsmeier wrote: Am 03.02.2022 um 22:24 schrieb Richard Purdie via lists.openembedded.org: On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote: When a file can not be identified by checksum

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 10:53 schrieb Richard Purdie: On Sun, 2022-02-06 at 08:10 +, Richard Purdie via lists.openembedded.org wrote: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 09:10 schrieb Richard Purdie: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package size if DISTRO_FEATURES contains systemd. It is only usefull to link udev static

[OE-core] [PATCH 1/4] wic: partition: Support valueless keys in sourceparams

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Accept valueless keys in sourceparams without equals sign (=) to match the comment and support Boolean entries. Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib

[OE-core] [PATCH 2/4] wic: rawcopy: Add support for packed images

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add support for packed images to wic rawcopy handler do minimize disk usage in deploy directory and reuse of packed images between wic and swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz archives. Example: part / --source rawcopy --sourceparams

[OE-core] [PATCH 3/4] selftest: wic: Remove requirement of syslinux from test_rawcopy_plugin

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Remove bootimg-pcbios from wks to eliminate requirement of syslinux from test_rawcopy_plugin to avoid the following error. ERROR: Couldn't find correct bootimg_dir, exiting Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/wic.py | 6

[OE-core] [PATCH 4/4] selftest: wic: Add rawcopy plugin unpack test

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/wic.py | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index 96b3e1b6a5

[OE-core] [PATCH 1/2] gcc-target: fix glob to remove gcc- binary

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The glob to remove the gcc- binary expects a single-digit major version which is no longer true. Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-devtools/gcc/gcc-target.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes

[OE-core] [PATCH 2/2] gcc-target: move cc1plus to g++ package

2022-02-10 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move cc1plus from gcc to g++ package. Therefor, remove the duplicate FILES entry from gcc package and keep the entry in g++ package. Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-devtools/gcc/gcc-target.inc | 1 - 1 file changed, 1 deletion(-) diff

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 17:43 schrieb Stefan Herbrechtsmeier: Am 06.02.22 um 10:53 schrieb Richard Purdie: On Sun, 2022-02-06 at 08:10 +, Richard Purdie via lists.openembedded.org wrote: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-07 Thread Stefan Herbrechtsmeier
Am 06.02.2022 um 20:05 schrieb Mark Hatle: On 2/6/22 11:35 AM, Richard Purdie wrote: On Sun, 2022-02-06 at 18:31 +0100, Alexander Kanavin wrote: On Sun, 6 Feb 2022 at 18:27, Mark Hatle wrote: It definitely works in Honister (I'm actively using it.) We produce a single package set, then

Re: [OE-core] [PATCH] bluez5: install /var/lib/bluetooth directory

2022-04-11 Thread Stefan Herbrechtsmeier
Yi Zhao: On 4/8/22 18:51, Stefan Herbrechtsmeier wrote: Am 08.04.2022 um 11:23 schrieb Yi Zhao: On 4/8/22 16:34, Stefan Herbrechtsmeier wrote: Am 08.04.2022 um 10:15 schrieb Yi Zhao via lists.openembedded.org: There is a bluetooth service startup failure: bluetooth.service: Failed at step

Re: [OE-core] [PATCH] bluez5: install /var/lib/bluetooth directory

2022-04-13 Thread Stefan Herbrechtsmeier
Hi, Am 11.04.2022 um 09:17 schrieb Stefan Herbrechtsmeier via lists.openembedded.org: Am 08.04.2022 um 22:03 schrieb Markus Volk via lists.openembedded.org: also had this issue and found out, that the bluetooth service did come up, once bluetooth was enabled My fix was to edit like

Re: [OE-core] [PATCH] bluez5: install /var/lib/bluetooth directory

2022-04-08 Thread Stefan Herbrechtsmeier
Am 08.04.2022 um 10:15 schrieb Yi Zhao via lists.openembedded.org: There is a bluetooth service startup failure: bluetooth.service: Failed at step NAMESPACE spawning /usr/libexec/bluetooth/bluetoothd: No such file or directory bluetooth.service: Failed to set up mount namespacing:

[OE-core] [PATCH] recipetool: Do not use mutable default arguments in Python

2022-04-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Remove mutable default arguments in Python because they can lead to all sorts of nasty and horrible bugs. https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/ Revert `recipetool: Change default paramter fallback_licenses

Re: [OE-core] [PATCH v2] bluez5: Add fix for startup issues under systemd

2022-04-25 Thread Stefan Herbrechtsmeier
Hi Richard, should I update your patch or only the Upstream-Status or will you prefer to do it yourself? Regards Stefan Am 14.04.2022 um 22:52 schrieb Richard Purdie via lists.openembedded.org: The systemd bluetooth service failed to start. Add a workaround for this whilst the final fix

Re: [OE-core] [PATCH] bluez5: install /var/lib/bluetooth directory

2022-04-08 Thread Stefan Herbrechtsmeier
Am 08.04.2022 um 11:23 schrieb Yi Zhao: On 4/8/22 16:34, Stefan Herbrechtsmeier wrote: Am 08.04.2022 um 10:15 schrieb Yi Zhao via lists.openembedded.org: There is a bluetooth service startup failure: bluetooth.service: Failed at step NAMESPACE spawning /usr/libexec/bluetooth/bluetoothd

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
Hi Richard, Am 22.06.2022 um 15:10 schrieb Richard Purdie via lists.openembedded.org: There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14845 It is in llvm and is a cmake

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
3 Regards Stefan Am 22.06.22 um 15:54 schrieb Stefan Herbrechtsmeier: Hi Richard, Am 22.06.2022 um 15:10 schrieb Richard Purdie via lists.openembedded.org: There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzi

[OE-core] [PATCH 3/5] poky-meta: add go vendor class for offline builds

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/go-vendor.bbclass | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 meta/classes/go-vendor.bbclass diff --git a/meta/classes/go-vendor.bbclass b

[OE-core] [PATCH 1/5] recipetool-create: add ensure_native_cmd function

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 23 +++ 1 file changed, 23 insertions(+) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 824ac6350d

[OE-core] [PATCH 2/5] create_npm: reuse ensure_native_cmd from create.py

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 28 ++-- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool

[OE-core] [PATCH 4/5] recipetool: add go recipe generator

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_go.py | 394 1 file changed, 394 insertions(+) create mode 100644 scripts/lib/recipetool/create_go.py diff --git a/scripts/lib/recipetool

[OE-core] [PATCH 5/5] oe-selftest: add go recipe create selftest

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/recipetool.py | 88 ++ 1 file changed, 88 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases

Re: [OE-core] [PATCH 1/5] recipetool-create: add ensure_native_cmd function

2022-05-11 Thread Stefan Herbrechtsmeier
Hi Luca, Lukas will check the logs and fix the problem. Regards Stefan Am 09.05.2022 um 23:46 schrieb Luca Ceresoli: Hello Stefan, Il giorno Fri, 6 May 2022 08:59:13 +0200 "Stefan Herbrechtsmeier" ha scritto: From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-

Re: [OE-core] [langdale][kirkstone][PATCH] go-mod.bbclass: Allow network in do_compile

2023-01-02 Thread Stefan Herbrechtsmeier
Hi Martin, Am 26.12.2022 um 10:59 schrieb Martin Jansa via lists.openembedded.org: On Mon, Dec 26, 2022 at 10:38 AM Vyacheslav Yurkov wrote: Martin, I did see that patch series, but I was not sure about its state, therefore I didn't try it. If I understood correctly, that

Re: [OE-core] [PATCH 01/13] cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock

2022-12-09 Thread Stefan Herbrechtsmeier
Hi Alex, Am 07.12.2022 um 17:21 schrieb Alexander Kanavin: On Wed 7. Dec 2022 at 16.28, Stefan Herbrechtsmeier wrote: Hi Alex, Am 07.12.2022 um 09:53 schrieb Alexander Kanavin via lists.openembedded.org <http://lists.openembedded.org>: > On Wed, 7 Dec 2022 at 01:2

Re: [OE-core] [PATCH 01/13] cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock

2022-12-12 Thread Stefan Herbrechtsmeier
Hi Alex, Am 09.12.2022 um 13:09 schrieb Alexander Kanavin: On Fri, 9 Dec 2022 at 11:39, Stefan Herbrechtsmeier wrote: Sorry for the harsh tone but you ignore existing tools and add just another tool to oe-core without mention any reason or document it. The reason to add the class

Re: [OE-core] [PATCH 01/13] cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock

2022-12-09 Thread Stefan Herbrechtsmeier
Hi Richard, Am 09.12.2022 um 13:01 schrieb Richard Purdie: On Fri, 2022-12-09 at 11:39 +0100, Stefan Herbrechtsmeier wrote: Sorry for the harsh tone but you ignore existing tools and add just another tool to oe-core without mention any reason or document it. Do you really expect that somebody

Re: [OE-core] [PATCH 01/13] cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock

2022-12-07 Thread Stefan Herbrechtsmeier
Hi Alex, Am 07.12.2022 um 09:53 schrieb Alexander Kanavin via lists.openembedded.org: On Wed, 7 Dec 2022 at 01:21, Sergey Bostandzhyan wrote: I think this should be documented more prominently, as missing information on how to get going was the biggest obstacle, at least for me. The benefit

<    1   2   3