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-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-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-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

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

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] [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-

[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

[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 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 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

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

[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] 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-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-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] [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:

Re: [OE-core] [RFC PATCH] bitbake.conf: Add base package version (BPV) variable

2022-03-31 Thread Stefan Herbrechtsmeier
Am 30.03.2022 um 19:32 schrieb Khem Raj: On Wed, Mar 30, 2022 at 1:16 AM Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Add a base package version (BPV) variable and use it as default for the package version (PV) variable. The BPV variable contains the base package version

Re: [OE-core] [RFC PATCH] bitbake.conf: Add base package version (BPV) variable

2022-03-30 Thread Stefan Herbrechtsmeier
Hi Richard, Am 30.03.2022 um 13:51 schrieb Richard Purdie: On Wed, 2022-03-30 at 10:16 +0200, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Add a base package version (BPV) variable and use it as default for the package version (PV) variable. The BPV variable contains the base

Re: [OE-core] [RFC PATCH] bitbake.conf: Add base package version (BPV) variable

2022-03-30 Thread Stefan Herbrechtsmeier
't ensure it. Regards Stefan On Wed, 30 Mar 2022 at 10:16, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Add a base package version (BPV) variable and use it as default for the package version (PV) variable. The BPV variable contains the base package version of the recipe read

[OE-core] [RFC PATCH] bitbake.conf: Add base package version (BPV) variable

2022-03-30 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a base package version (BPV) variable and use it as default for the package version (PV) variable. The BPV variable contains the base package version of the recipe read from the recipe filename. The base package version variable supports an expansion

[OE-core] [PATCH v3] zstd: add libzstd package

2022-03-28 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a libzstd package to remove libstdc++ runtime dependency from library users and reduce the dependencies and size of the library package. Add a lib package instead of a bin package to use a similar name as other buildtools and be backward compatible. Signed-off

Re: [OE-core] [PATCH v2] zstd: add zstd-bin package

2022-03-28 Thread Stefan Herbrechtsmeier
Hi, Am 25.03.2022 um 20:00 schrieb Alexandre Belloni: On 25/03/2022 13:29:50+0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Add a zstd-bin package to remove libstdc++ runtime dependency from library users and reduce the dependencies and size of the library package. Signed

Re: [OE-core] [PATCH] zstd: add libzstd package to minimize runtime dependencies

2022-03-25 Thread Stefan Herbrechtsmeier
Am 25.03.2022 um 14:54 schrieb Alexander Kanavin: On Fri, 25 Mar 2022 at 14:47, Khem Raj wrote: The standard way to do this is to inherit lib_package. that is appropriate when main package is a library but it also has some utilities accompanying it. This case seems reverse, where its tryin

[OE-core] [PATCH v2] zstd: add zstd-bin package

2022-03-25 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a zstd-bin package to remove libstdc++ runtime dependency from library users and reduce the dependencies and size of the library package. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Add zstd-bin package instead of libzstd package meta/recipes

Re: [OE-core] [PATCH] zstd: add libzstd package to minimize runtime dependencies

2022-03-25 Thread Stefan Herbrechtsmeier
Am 25.03.2022 um 11:48 schrieb Alexander Kanavin: The standard way to do this is to inherit lib_package. Do you propose to move the binaries to a new zstd-bin package and break backward compatibility? Regards Stefan On Fri, 25 Mar 2022 at 11:19, Stefan Herbrechtsmeier wrote: From

[OE-core] [PATCH] zstd: add libzstd package to minimize runtime dependencies

2022-03-25 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a libzstd package to remove libstdc++ runtime dependency from library users and reduce the size of the library package and its dependencies. Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-extended/zstd/zstd_1.5.2.bb | 4 1 file changed, 4

[OE-core] [RFC PATCH 1/2] classes: rootfs-postcommands: include /etc/fstab in overlayfs_qa_check

2022-03-02 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The systemd init manager support mount point configuration via mount units and /etc/fstab. 'Mounts listed in /etc/fstab will be converted into native units dynamically at boot and when the configuration of the system manager is reloaded. In general, configuring mount

[OE-core] [RFC PATCH 2/2] oeqa: selftest: overlayfs: add test for image with fstab entry

2022-03-02 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- .../base-files/base-files_%.bbappend | 2 + meta/lib/oeqa/selftest/cases/overlayfs.py | 82 +-- 2 files changed, 57 insertions(+), 27 deletions(-) create mode 100644 meta-selftest/recipes

[OE-core] [PATCH v3] systemd: move systemd shared library into its own package

2022-02-25 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package and thereby to a second init manager. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v3: - Add libdir

Re: [OE-core] [PATCH v2] systemd: move systemd shared library into its own package

2022-02-25 Thread Stefan Herbrechtsmeier
Am 24.02.2022 um 22:06 schrieb Richard Purdie: On Wed, 2022-02-23 at 17:17 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package

[OE-core] [PATCH] files: overlayfs-create-dirs: split ExecStart into two commands

2022-02-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Split ExecStart into two commands because systemd interpret an ExecStart entry as a single executable with multiple parameters. systemd[1]: Starting Overlayfs directories setup... mkdir: cannot create directory '&&': Read-only file system mkdir: canno

[OE-core] [PATCH] classes: rootfs-postcommands: avoid exception in overlayfs_qa_check

2022-02-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The overlayfs_qa_check in the rootfs-postcommands class throws an exception if the overlayfs distro feature is enabled but no global OVERLAYFS_MOUNT_POINT is specifived. File: '/home/stefan/dalos-linutronix/poky/meta/classes/rootfs-postcommands.bbclass', lineno

Re: [OE-core] [PATCH] systemd: move systemd shared library into its own package

2022-02-23 Thread Stefan Herbrechtsmeier
Am 23.02.2022 um 17:04 schrieb Konrad Weihmann: On 23.02.22 16:59, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package and thereby

[OE-core] [PATCH v2] systemd: move systemd shared library into its own package

2022-02-23 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package and thereby to a second init manager. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Fix SUMMARY override

[OE-core] [PATCH] systemd: move systemd shared library into its own package

2022-02-23 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package and thereby to a second init manager. Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-core/systemd

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

2022-02-23 Thread Stefan Herbrechtsmeier
Am 23.02.2022 um 13:39 schrieb Richard Purdie: On Wed, 2022-02-23 at 09:13 +0100, Stefan Herbrechtsmeier wrote: Am 23.02.2022 um 02:49 schrieb Yu, Mingli: On 2/22/22 9:26 PM, Stefan Herbrechtsmeier wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] Am 22.02.2022 um 10:20

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

2022-02-23 Thread Stefan Herbrechtsmeier
Hi, Am 23.02.2022 um 02:49 schrieb Yu, Mingli: On 2/22/22 9:26 PM, Stefan Herbrechtsmeier wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] Hi, Am 22.02.2022 um 10:20 schrieb Yu, Mingli: Hi, On 2/2/22 3:35 PM, Stefan Herbrechtsmeier wrote: [Please note: This e-mail

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

2022-02-22 Thread Stefan Herbrechtsmeier
Hi, Am 22.02.2022 um 10:20 schrieb Yu, Mingli: Hi, On 2/2/22 3:35 PM, Stefan Herbrechtsmeier wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package size if DISTRO_FEATURES contains

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

2022-02-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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

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

2022-02-14 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 --- (no changes since v1) meta/lib/oeqa/selftest

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

2022-02-14 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 v3 1/4] wic: partition: Support valueless keys in sourceparams

2022-02-14 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 --- (no changes since v1) scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [OE-core] [PATCH v2 5/5] selftest: wic: Disable graphic of qemu to support WSL

2022-02-14 Thread Stefan Herbrechtsmeier
Hi Alex, Am 14.02.2022 um 17:28 schrieb Alexander Kanavin: This fixes one location where the problem can occur in selftests, but what about all the others? Other tests like efibootpartition, gcc, glibc or runqemu already set nographic. Generally, it is not selftest's job to ensure qemu

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

2022-02-14 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 v2 5/5] selftest: wic: Disable graphic of qemu to support WSL

2022-02-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Disable graphic support of qemu to support qemu tests in WSL. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Add patch meta/lib/oeqa/selftest/cases/wic.py | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/meta/lib

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

2022-02-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) 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

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

2022-02-14 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 --- (no changes since v1) meta/lib/oeqa/selftest

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

2022-02-14 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 --- (no changes since v1) scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion

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

2022-02-11 Thread Stefan Herbrechtsmeier
Hi Ulrich, Am 11.02.2022 um 17:17 schrieb Ulrich Ölmann: On Thu, Feb 10 2022 at 17:17 +0100, "Stefan Herbrechtsmeier" wrote: From: Stefan Herbrechtsmeier Add support for packed images to wic rawcopy handler do minimize disk usage in deploy directory and reuse of packed images b

[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 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 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 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-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 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-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

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] 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

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

2022-02-01 Thread Stefan Herbrechtsmeier
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 with systemd helper if udev should be installed without systemd. Signed-off-by: Stefan Herbrechtsmeier

[OE-core] [PATCH v2 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 --- (no changes since v1) meta/recipes-core/systemd/systemd_249.7.bb | 8

[OE-core] [PATCH v2 1/3] cve-check: create directory of CVE_CHECK_MANIFEST before copy

2022-02-01 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Create directory of the CVE_CHECK_MANIFEST variable before copy to it, so that the variable can use an arbitrary directory name. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Reword commit meta/classes/cve-check.bbclass | 1 + 1 file changed, 1

Re: [OE-core] [PATCH 1/3] cve-check: create directory before copy

2022-02-01 Thread Stefan Herbrechtsmeier
of the CVE_CHECK_MANIFEST variable isn't created. On Tue, 1 Feb 2022 at 17:17, Stefan Herbrechtsmeier <mailto:stefan.herbrechtsmeier-...@weidmueller.com>> wrote: From: Stefan Herbrechtsmeier mailto:stefan.herbrechtsme...@weidmueller.com>> Signed-off-by: Stefan

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

2022-02-01 Thread Stefan Herbrechtsmeier
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 with systemd helper if udev should be installed without systemd. Signed-off-by: Stefan Herbrechtsmeier --- meta

[OE-core] [PATCH 1/3] cve-check: create directory before copy

2022-02-01 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/cve-check.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 70d1988a70..a4d735c323 100644 --- a/meta/classes/cve-check.bbclass

[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] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-27 Thread Stefan Herbrechtsmeier
Am 27.12.21 um 15:54 schrieb Eero Aaltonen: On Mon, 2021-12-27 at 14:38 +0100, Stefan Herbrechtsmeier via lists.openembedded.org wrote: Hi Alex, Am 25.12.21 um 20:41 schrieb Alexander Kanavin: On Sat, 25 Dec 2021 at 20:32, Stefan Herbrechtsmeier mailto:ste...@herbrechtsmeier.net>>

Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-27 Thread Stefan Herbrechtsmeier
Hi Alex, Am 25.12.21 um 20:41 schrieb Alexander Kanavin: On Sat, 25 Dec 2021 at 20:32, Stefan Herbrechtsmeier mailto:ste...@herbrechtsmeier.net>> wrote: > I'm not sure how to deal with that, so there aren't that many options here. This is a common problem for all

Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-27 Thread Stefan Herbrechtsmeier
Am 25.12.21 um 21:58 schrieb Konrad Weihmann: On 25.12.21 20:32, Stefan Herbrechtsmeier wrote: Isn't the circular dependencies problem mainly a problem of the native packages? In many cases the dependency only exists at compile time of the main project and not at compile time

Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-27 Thread Stefan Herbrechtsmeier
Hi Konrad, Am 25.12.21 um 21:43 schrieb Konrad Weihmann: What I so far don't really get is why increase in parsing time is such a big deal. I admit when we're talking about npm it's some kind of a drastic increase in recipes one would have to maintain, just because some random project decides

Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-25 Thread Stefan Herbrechtsmeier
Hi Konrad, Am 24.12.21 um 11:36 schrieb Konrad Weihmann: I had a look at the failures and most of them are fairly easy to fix - all but the go recipes like influxdb. The go class doesn't work without network by default if the project doesn't provide a vendor folder. I'm not sure how to

Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-25 Thread Stefan Herbrechtsmeier
Hi Richard, Am 24.12.21 um 09:30 schrieb Richard Purdie: On Thu, 2021-12-23 at 22:00 -0800, Khem Raj wrote: is this list of failures due to this patch ? https://errors.yoctoproject.org/Errors/Build/137579/ Looks likely, yes. Recipes shouldn't be attempting downloads in do_compile :( In

[OE-core] [PATCH v3 3/4] selftest: recipetool: Add test for split_pkg_licenses function

2021-12-15 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) meta/lib/oeqa/selftest/cases/recipetool.py | 64 ++ 1 file changed, 64 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases

[OE-core] [PATCH v3 4/4] selftest: recipetool: Add test for handle_license_vars function

2021-12-15 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- Changes in v3: - Sort LIC_FILES_CHKSUM values meta/lib/oeqa/selftest/cases/recipetool.py | 62 ++ 1 file changed, 62 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib

[OE-core] [PATCH v3 1/4] recipetool: Sort output of guess_license function to be deterministic

2021-12-15 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Sort the output of guess_license function by license file to be deterministic and to support self-testing. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v3: - Add commit to fix selftest failure of autobuilder scripts/lib/recipetool/create.py | 2 +- 1

[OE-core] [PATCH v3 2/4] recipetool: Separate licenses with & operator

2021-12-15 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Separate licenses with & operator since it should be satisfied most use cases and it is a reasonable assumption that all the licenses apply. Furthermore flat, split and sort the licenses to minimize license string changes. Separate package licenses with &

Re: [OE-core] [RFC PATCH v2 3/3] selftest: recipetool: Add test for handle_license_vars function

2021-12-14 Thread Stefan Herbrechtsmeier
Hi Richard, Am 14.12.2021 um 14:01 schrieb Richard Purdie: On Mon, 2021-12-13 at 16:05 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) meta/lib/oeqa/selftest/cases/recipetool.py | 62

[OE-core] [RFC PATCH v2 1/3] recipetool: Separate licenses with & operator

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Separate licenses with & operator since it should be satisfied most use cases and it is a reasonable assumption that all the licenses apply. Furthermore flat, split and sort the licenses to minimize license string changes. Separate package licenses with &

[OE-core] [RFC PATCH v2 3/3] selftest: recipetool: Add test for handle_license_vars function

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) meta/lib/oeqa/selftest/cases/recipetool.py | 62 ++ 1 file changed, 62 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases

[OE-core] [RFC PATCH v2 2/3] selftest: recipetool: Add test for split_pkg_licenses function

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) meta/lib/oeqa/selftest/cases/recipetool.py | 64 ++ 1 file changed, 64 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases

Re: [OE-core] [RFC PATCH 1/3] recipetool: Separate licenses with & operator

2021-12-13 Thread Stefan Herbrechtsmeier
Am 13.12.2021 um 14:00 schrieb Stefan Herbrechtsmeier via lists.openembedded.org: Am 13.12.2021 um 13:57 schrieb Alexander Kanavin: On Mon, 13 Dec 2021 at 13:38, Stefan Herbrechtsmeier <mailto:stefan.herbrechtsmeier-...@weidmueller.com>> wrote:     From: Stefan Herbre

Re: [OE-core] [RFC PATCH 1/3] recipetool: Separate licenses with & operator

2021-12-13 Thread Stefan Herbrechtsmeier
Am 13.12.2021 um 13:57 schrieb Alexander Kanavin: On Mon, 13 Dec 2021 at 13:38, Stefan Herbrechtsmeier <mailto:stefan.herbrechtsmeier-...@weidmueller.com>> wrote: From: Stefan Herbrechtsmeier mailto:stefan.herbrechtsme...@weidmueller.com>> Separate licenses with &

[OE-core] [RFC PATCH 3/3] selftest: recipetool: Add test for handle_license_vars function

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/recipetool.py | 62 ++ 1 file changed, 62 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index

[OE-core] [RFC PATCH 2/3] selftest: recipetool: Add test for split_pkg_licenses function

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/recipetool.py | 64 ++ 1 file changed, 64 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index

[OE-core] [RFC PATCH 1/3] recipetool: Separate licenses with & operator

2021-12-13 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Separate licenses with & operator since it should be satisfied most use cases and it is a reasonable assumption that all the licenses apply. Furthermore flat, split and sort the licenses to minimize license string changes. Signed-off-by: Stefan Herbrechtsm

[OE-core] [PATCH v2 2/5] selftest/devtool: Check branch in git fetch

2021-12-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)' forget the url branch= parameter in the devtool git fetch test. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Add commit to check branch in selftest/devtool meta/lib/oeqa

[OE-core] [PATCH v2 3/5] selftest/recipetool: Split tests into separate test classes

2021-12-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Split tests into separate test classes to speed up individual test runs by reducing the test setup to a minimum. The pkgdata generation is only needed for the append tests and slow down the other tests. Signed-off-by: Stefan Herbrechtsmeier --- (no changes since

[OE-core] [PATCH v2 1/5] recipetool: Set master branch only as fallback

2021-12-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)' sets the branch= parameter too early to master and thereby breaks the -B/--srcbranch option. ERROR: branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other

[OE-core] [PATCH v2 4/5] selftest/recipetool: Add tests for branch parameter and srcbranch option

2021-12-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The recipetool support two ways to pass a branch and fallback to master if no branch is defined. Add tests for default branch, branch parameter and srcbranch option. Signed-off-by: Stefan Herbrechtsmeier --- This commit changes the test repository from matchbox

[OE-core] [PATCH v2 5/5] selftest: devtool: Separate common functions and devtool sstate setup into two classes

2021-12-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The selftest recipetool base class reuse the selftest devtool base class. Thereby the selftest devtool base class setup its own devtool sstate and the selftest recipetool classes trigger the build of recipes. This leads to the problem that the build artifacts doesn't

Re: [OE-core] [PATCH 1/4] recipetool: Set master branch only as fallback

2021-12-08 Thread Stefan Herbrechtsmeier
setup and we need to know the dependencies of the test to build those manual. On Wed, 8 Dec 2021 at 09:27, Stefan Herbrechtsmeier <mailto:stefan.herbrechtsmeier-...@weidmueller.com>> wrote: Am 08.12.2021 um 09:10 schrieb Alexander Kanavin: > On Wed, 8 Dec 2021 at 0

Re: [OE-core] [PATCH 1/4] recipetool: Set master branch only as fallback

2021-12-08 Thread Stefan Herbrechtsmeier
Am 08.12.2021 um 09:10 schrieb Alexander Kanavin: On Wed, 8 Dec 2021 at 08:45, Stefan Herbrechtsmeier <mailto:stefan.herbrechtsmeier-...@weidmueller.com>> wrote: I will update my patch series but need some time to test it locally. The devtool test build a lot of recipe on

Re: [OE-core] [PATCH 1/4] recipetool: Set master branch only as fallback

2021-12-07 Thread Stefan Herbrechtsmeier
Hi Richard, Am 07.12.2021 um 16:45 schrieb Richard Purdie: On Mon, 2021-12-06 at 09:04 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)' sets the branch= parameter too early to master and thereby breaks

[OE-core] [PATCH 4/4] selftest: devtool: Separate common functions and devtool sstate setup into two classes

2021-12-06 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The selftest recipetool base class reuse the selftest devtool base class. Thereby the selftest devtool base class setup its own devtool sstate and the selftest recipetool classes trigger the build of recipes. This leads to the problem that the build artifacts doesn't

  1   2   3   >