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

[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 v2] initramfs-framework: Add overlayroot module

2022-02-01 Thread Alejandro Hernandez Samaniego
Hey Vyacheslav, Yes, in this case it is different and its specifically required if we want to overlay the entire rootfs, also like it says in the commit message and in the comments giving credit to the overlay-etc class I definitely tried extending the overlay-etc class but it simply does not

Re: [OE-core] [PATCH] Revert "featimage: refactor style"

2022-02-01 Thread Andrej Valek
Marek, Sorry, but these are still not an arguments, why to do that. On Mon, 2022-01-31 at 10:39 +0100, Marek Vasut wrote: > On 1/31/22 08:01, Valek, Andrej wrote: > > Hi, > > Hello Andrej, > > (please avoid top-posting) > > > Sorry, but personally I don't like your idea. What's the benefit of

Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Saul Wold
On 2/1/22 19:21, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Saul Wold Sent: den 2 februari 2022 01:02 To: openembedded-core@lists.openembedded.org; jpewhac...@gmail.com Cc: Saul Wold Subject: [OE-core] [PATCH]

Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Saul Wold > Sent: den 2 februari 2022 01:02 > To: openembedded-core@lists.openembedded.org; jpewhac...@gmail.com > Cc: Saul Wold > Subject: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier

[OE-core] [PATCH 3/3] package.bbclass: Pass dv (debug_vars) around instead of individual vars

2022-02-01 Thread Peter Kjellerstedt
This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo() and inject_minidebuginfo() Signed-off-by: Peter Kjellerstedt --- meta/classes/package.bbclass | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/meta/classes/package.bbclass

[OE-core] [PATCH 0/3] Split split_and_strip_files()

2022-02-01 Thread Peter Kjellerstedt
This is my third attempt to make it possible for me to hook into the split_and_strip_files() function. We need this to be able to rename the debug files for some packages to avoid conflicts when installing them. In this version, the first patch splits out the part of split_and_strip_files() that

[OE-core] [PATCH 1/3] package.bbclass: Split out package_debug_vars from split_and_strip_files

2022-02-01 Thread Peter Kjellerstedt
The split_and_strip_files() function is big and hard to follow. This takes a small step to improve that by splitting out the part that sets up the variables used to implement the various debug splitting methods specified by PACKAGE_DEBUG_SPLIT_STYLE. Signed-off-by: Peter Kjellerstedt ---

[OE-core] [PATCH 2/3] package.bbclass: Make package_debug_vars() return a dict

2022-02-01 Thread Peter Kjellerstedt
It simplifies the API to return one dict instead of seven strings. Signed-off-by: Peter Kjellerstedt --- meta/classes/package.bbclass | 96 +++- 1 file changed, 51 insertions(+), 45 deletions(-) diff --git a/meta/classes/package.bbclass

Re: [OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-01 Thread Denys Dmytriyenko
On Tue, Feb 01, 2022 at 12:15:01PM -0500, Denys Dmytriyenko wrote: > On Tue, Feb 01, 2022 at 02:30:54PM +0100, Alexander Kanavin wrote: > Just to make it clear to everyone else on the list - this is not the final > 10.0.0 release, but rather an RC1 that is versioned as 9.0.93, hence the RFC >

[OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Saul Wold
This patch will read the begining of source files and try to find the SPDX-License-Identifier to populate the licenseInfoInFiles field for each source file. This does not populate licenseConculed at this time, nor rolls it up to package level. We read as binary to since some source code seem to

[OE-core][PATCH] spdx: Add set helper for list properties

2022-02-01 Thread Joshua Watt
This adds the set helper for list properties to allow list members to be replaced with a new list. This is necessary as it is (currently) the only way to replace the default value for a list member. Signed-off-by: Joshua Watt --- meta/lib/oe/spdx.py | 5 - 1 file changed, 4 insertions(+), 1

[OE-core] [PATCH v2] ruby: Fix build on riscv/musl

2022-02-01 Thread Khem Raj
This fixes a build issue that started with 3.1 upgrade Fixes | ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1' | dump_machine_register(mctx->__gregs[REG_S1], "s1"); Signed-off-by: Khem Raj --- v2: document the need to patch musl

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

2022-02-01 Thread Alexander Kanavin
On Tue, 1 Feb 2022 at 19:58, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > Am 01.02.2022 um 18:00 schrieb Alexander Kanavin: > > Can you please describe the issue this is fixing in the commit message? > > Why is this not seen by others? > > Isn't it best practice

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

2022-02-01 Thread Stefan Herbrechtsmeier
Am 01.02.2022 um 18:00 schrieb Alexander Kanavin: Can you please describe the issue this is fixing in the commit message? Why is this not seen by others? Isn't it best practice to create a directory before copy something into the directory? The patch shows that the arbitrary directory of the

Re: [OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-01 Thread Alexander Kanavin
On Tue, 1 Feb 2022 at 18:25, Daniel Stone wrote: > Most systems use Weston's logind backend with systemd integration; > OE/Yocto was the last system I know of using the old weston-launch > wrapper. > weston-launch was used in yocto only for sysvinit based images; systemd images have used direct

Re: [OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-01 Thread Ross Burton
On Tue, 1 Feb 2022 at 13:31, Alexander Kanavin wrote: > weston-launch can be replaced by starting weston directly, with > a seat management daemon for support. This is provided either > by systemd, or on systemd-less systems, by seatd. The sysvinit > startup scripts and tests have been rewritten

Re: [OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-01 Thread Denys Dmytriyenko
On Tue, Feb 01, 2022 at 02:30:54PM +0100, Alexander Kanavin wrote: > Upstream has deprecated both weston-launch and fbdev backend, so let's > not delay the inevitable and find replacements. > > Fbdev can be replaced by passing --use-pixman to drm backend; > this will bypass the opengl paths and

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

2022-02-01 Thread Alexander Kanavin
Can you please describe the issue this is fixing in the commit message? Why is this not seen by others? Alex On Tue, 1 Feb 2022 at 17:17, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-by: Stefan Herbrechtsmeier < >

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

[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

[OE-core] Yocto Project Status WW05`22

2022-02-01 Thread Stephen Jolley
Current Dev Position: YP 3.5 M3 Next Deadline: 21th Feb. 2022 YP 3.5 M3 build Next Team Meetings: * Bug Triage meeting Thursday Feb. 3rd 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) *

[OE-core][PATCH] dhcpcd: add option to set DBDIR location

2022-02-01 Thread Andrej Valek
This will allow to use the different DBDIR location, because the /var/lib could be used as a read-only location. Signed-off-by: Andrej Valek --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.1.bb | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-01 Thread Alexander Kanavin
Upstream has deprecated both weston-launch and fbdev backend, so let's not delay the inevitable and find replacements. Fbdev can be replaced by passing --use-pixman to drm backend; this will bypass the opengl paths and use CPU for rendering. Apply where GL is too slow or unavailable.

[OE-core] [RFC PATCH 1/2] seatd: add recipe

2022-02-01 Thread Alexander Kanavin
This is needed to run weston properly as non-root in the absence of systemd-logind, and other compositors will likely require seatd as well. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-core/seatd/seatd/init | 45

Re: [OE-core] [PATCH 2/2] packages.bbclass: Break out the debug info styles to bitbake variables

2022-02-01 Thread Richard Purdie
On Mon, 2022-01-31 at 22:39 +0100, Peter Kjellerstedt wrote: > Break out the hardcoded values for the various debug info styles from > split_and_strip_files() into bitbake variables. This allows the debug > info styles to be adopted, and also allows new styles to be added > (within the limits of