[OE-core] [PATCH] site/common-linux: coreutils: get the uptime program to work

2018-02-12 Thread Sean Nyekjaer
coreutils at configure time that /proc/uptime will be available on the target (which seems to be a reasonable assumption on Linux systems). This commit is made with great inspiration from Thomas Petazzoni's patch to buildroot to fix the same issue. Signed-off-by: Sean Nyekjaer <sean.ny

Re: [OE-core] [thud][PATCH] target-sdk-provides-dummy: Extend to -dev and -src packages

2019-03-19 Thread Sean Nyekjaer
kind ping BR /Sean On 09/03/2019 19.50, Max Krummenacher wrote: From: Richard Purdie This avoids errors when running populate_sdk under opkg: * Problem 1/1: * - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed * *

Re: [OE-core] [PATCH] libgpg-error: Fix build with gawk 5.x

2019-09-06 Thread Sean Nyekjaer
On 04/09/2019 01.50, Khem Raj wrote: Can we cherry-pick this patch to warrior and thud, please ? Hi For thud that uses a older version af libgpg-error, and the patch doesn't apply :-) Should I update the patch for thud and resend? /Sean -- ___

[OE-core] [warrior][PATCH v2] libgpg-error: Fix build with gawk 5.x

2019-09-09 Thread Sean Nyekjaer
Based on poky master, but for version 1.35 Signed-off-by: Sean Nyekjaer --- .../libgpg-error-1.35-gawk5-support.patch | 161 ++ .../libgpg-error/libgpg-error_1.35.bb | 1 + 2 files changed, 162 insertions(+) create mode 100644 meta/recipes-support/libgpg-error

[OE-core] [thud][PATCH v2] libgpg-error: Fix build with gawk 5.x

2019-09-09 Thread Sean Nyekjaer
Based on poky master, but for version 1.32 Signed-off-by: Sean Nyekjaer --- .../libgpg-error-1.32-gawk5-support.patch | 161 ++ .../libgpg-error/libgpg-error_1.32.bb | 1 + 2 files changed, 162 insertions(+) create mode 100644 meta/recipes-support/libgpg-error

[OE-core] [thud][PATCH] libgpg-error: Fix build with gawk 5.x

2019-09-08 Thread Sean Nyekjaer
Based on poky master, but for version 1.32 Signed-off-by: Sean Nyekjaer --- .../libgpg-error-1.32-gawk5-support.patch | 160 ++ .../libgpg-error/libgpg-error_1.32.bb | 1 + 2 files changed, 161 insertions(+) create mode 100644 meta/recipes-support/libgpg-error

[OE-core] [warrior][PATCH] libgpg-error: Fix build with gawk 5.x

2019-09-08 Thread Sean Nyekjaer
Based on poky master, but for version 1.35 Signed-off-by: Sean Nyekjaer --- .../libgpg-error-1.35-gawk5-support.patch | 160 ++ .../libgpg-error/libgpg-error_1.35.bb | 1 + 2 files changed, 161 insertions(+) create mode 100644 meta/recipes-support/libgpg-error

Re: [OE-core] [thud][PATCH v2] libgpg-error: Fix build with gawk 5.x

2019-09-19 Thread Sean Nyekjaer
On 09/09/2019 20.29, Sean Nyekjaer wrote: Based on poky master, but for version 1.32 Signed-off-by: Sean Nyekjaer --- .../libgpg-error-1.32-gawk5-support.patch | 161 ++ .../libgpg-error/libgpg-error_1.32.bb | 1 + 2 files changed, 162 insertions

Re: [OE-core] [thud][PATCH] Revert "OpkgPM: use --add-ignore-recommends to process BAD_RECOMMENDATIONS"

2019-10-21 Thread Sean Nyekjaer
On 18/10/2019 23.18, akuster808 wrote: I am not aware of any for thud. IIRC, this commit was a backport request from the community. It would be interesting if those who have issues with thud check against master. - armin Hi, Sorry I was slow to report :) Was this also an issue on warrior

Re: [OE-core] [PATCH 3/3] lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

2021-08-23 Thread Sean Nyekjaer
On Thu, May 06, 2021 at 08:51:00AM +0100, Richard Purdie wrote: > If the scripts/postinst-intercepts is owned by root/root then the copyfile() > calls > will fail due to chown issues. We don't care about ownership of these files so > use shutil.copy() instead which won't perform any chown. > >

Re: [OE-core] [PATCH 3/3] lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

2021-08-24 Thread Sean Nyekjaer
On Tue, Aug 24, 2021 at 08:14:58AM +, Mittal, Anuj wrote: > Hello, > > On Mon, 2021-08-23 at 14:31 +0200, Sean Nyekjaer wrote: > > On Thu, May 06, 2021 at 08:51:00AM +0100, Richard Purdie wrote: > > > If the scripts/postinst-intercepts is owned by root/root then th

[OE-core][mickledore][PATCH] dmidecode: fixup for CVE-2023-30630

2023-10-16 Thread Sean Nyekjaer
r CVE-2023-30630 Signed-off-by: Sean Nyekjaer --- .../dmidecode/CVE-2023-30630_1a.patch | 236 ++ .../dmidecode/CVE-2023-30630_1b.patch | 197 +++ .../dmidecode/CVE-2023-30630_2.patch | 8 +- .../dmidecode/CVE-2023-30630_3.patch | 55

[OE-core] weston-init: how to debug with systemd

2023-10-17 Thread Sean Nyekjaer
Hi, To my understanding the weston.service doesn’t log to journal. If I'm is running the weston binary there is fine output on stdout. Looks like TTYPath is eating the logs, but I could be wrong. Adding: ExecStart=/usr/bin/weston --modules=systemd-notify.so --log=/tmp/weston.log Will of

[OE-core][PATCH 2/3] rust-cross-canadian: set CARGO_TARGET__RUNNER for nativesdk

2023-09-29 Thread Sean Nyekjaer
-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello` Hello, world Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust

[OE-core][PATCH 1/3] rust-cross-canadian: set CARGO_TARGET__RUSTFLAGS

2023-09-29 Thread Sean Nyekjaer
Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when building for target. This will enable building for different targets with different RUSTFLAGS. Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core][PATCH 3/3] oeqa/sdk/rust: Add build and run test of rust binary with SDK host

2023-09-29 Thread Sean Nyekjaer
Add a QA test to the SDK to test that a basic cargo build works for the SDK host. Signed-off-by: Sean Nyekjaer --- I know that `cargo build` and `cargo run` is kinda redundant for the `cargo run` command. But I guess it's easier to see whats happening here... meta/lib/oeqa/sdk/cases/rust.py

[OE-core][RFC 1/2] rust-cross-canadian: set CARGO_TARGET__RUSTFLAGS

2023-09-28 Thread Sean Nyekjaer
Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when building for target. This will enable building for different targets with different RUSTFLAGS. Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core][RFC 2/2] rust-cross-canadian: set CARGO_TARGET__RUNNER for nativesdk

2023-09-28 Thread Sean Nyekjaer
-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello` Hello, world Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust

[OE-core][PATCH v3] gcc: depend on zstd

2023-09-27 Thread Sean Nyekjaer
version 12.2.0 (GCC) Signed-off-by: Sean Nyekjaer --- Changes since v2: - removed git syntax from commit msg meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-13.2.inc

[OE-core][mickledore][PATCH] gcc: depend on zstd

2023-10-02 Thread Sean Nyekjaer
12.2.0 (GCC) Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/gcc/gcc-12.2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-12.2.inc b/meta/recipes-devtools/gcc/gcc-12.2.inc index 0dbbecad4a..5ff40a3b7f 100644 --- a/meta/recipes-devtools

[OE-core][PATCH v2 1/3] rust-cross-canadian: set CARGO_TARGET__RUSTFLAGS

2023-10-03 Thread Sean Nyekjaer
Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when building for target. This will enable building for different targets with different RUSTFLAGS. Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core][PATCH v2 3/3] oeqa/sdk/rust: Add build and run test of rust binary with SDK host

2023-10-03 Thread Sean Nyekjaer
Add a QA test to the SDK to test that a basic cargo build works for the SDK host. Signed-off-by: Sean Nyekjaer --- Changes since v1: - use SDK_SYS for compiling for SDK Host meta/lib/oeqa/sdk/cases/rust.py | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/lib

[OE-core][PATCH v2 2/3] rust-cross-canadian: set CARGO_TARGET__RUNNER for nativesdk

2023-10-03 Thread Sean Nyekjaer
-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello` Hello, world Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust

[OE-core][PATCH] gcc: depend on zstd

2023-09-27 Thread Sean Nyekjaer
Add zstd LTO support for the nativesdk compiler. --- % x86_64-oe-linux-gcc -v [...] Supported LTO compression algorithms: zlib zstd gcc version 12.2.0 (GCC) % x86_64-oesdk-linux-gcc -v [...] Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC) --- Signed-off-by: Sean Nyekjaer

Re: [OE-core][PATCH] gcc: depend on zstd

2023-09-27 Thread Sean Nyekjaer
> On 27 Sep 2023, at 13.17, Richard Purdie > wrote: > > On Wed, 2023-09-27 at 12:49 +0200, Sean Nyekjaer wrote: >> Add zstd LTO support for the nativesdk compiler. > > This is changing it for the target compiler as well? > > Perhaps also mention it brin

[OE-core][PATCH v2] gcc: depend on zstd

2023-09-27 Thread Sean Nyekjaer
version 12.2.0 (GCC) --- Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-13.2.inc index d96f3171e4..359db1e278 100644 --- a/meta

[OE-core][PATCH v3 2/3] rust-cross-canadian: set CARGO_TARGET__RUNNER for nativesdk

2023-10-09 Thread Sean Nyekjaer
-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello` Hello, world Signed-off-by: Sean Nyekjaer --- Changes since v2: - Find correct loader. Made with inspiration from meta/classes-global/uninative.bbclass meta/recipes-devtools/rust/rust-cross-canadian.inc | 3 +++ 1 file changed, 3

[OE-core][PATCH v3 1/3] rust-cross-canadian: set CARGO_TARGET__RUSTFLAGS

2023-10-09 Thread Sean Nyekjaer
Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when building for target. This will enable building for different targets with different RUSTFLAGS. Signed-off-by: Sean Nyekjaer --- meta/recipes-devtools/rust/rust-cross-canadian.inc | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core][PATCH v3 3/3] oeqa/sdk/rust: Add build and run test of rust binary with SDK host

2023-10-09 Thread Sean Nyekjaer
Add a QA test to the SDK to test that a basic cargo build works for the SDK host. Signed-off-by: Sean Nyekjaer --- Changes since v1: - use SDK_SYS for compiling for SDK Host meta/lib/oeqa/sdk/cases/rust.py | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/lib

Re: [OE-core] weston-init: how to debug with systemd

2023-10-18 Thread Sean Nyekjaer
as a system service. /Sean > > On Tue, Oct 17, 2023 at 6:05 AM Sean Nyekjaer wrote: >> >> Hi, >> >> To my understanding the weston.service doesn’t log to journal. If I'm is >> running the weston binary there is fine output on stdout. >> >> Look

[OE-core][mickledore][PATCH] weston: default to launcher-seatd

2023-10-19 Thread Sean Nyekjaer
Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston. Signed-off-by: Sean Nyekjaer --- meta/recipes-graphics/wayland/weston_11.0.1.bb | 4 ++-- 1 file

Re: [OE-core][mickledore][PATCH] weston: default to launcher-seatd

2023-10-20 Thread Sean Nyekjaer
Quoting Steve Sakoman : On Thu, Oct 19, 2023 at 3:28 AM Sean Nyekjaer wrote: Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston. Changing behaviour is

Re: [OE-core][PATCH v3 1/2] cve-check: add json format

2022-06-27 Thread Sean Nyekjaer
On 21/06/2022 15.06, Marta Rybczynska wrote: On Tue, Jun 21, 2022 at 12:45 PM Sean Nyekjaer <mailto:s...@geanix.com>> wrote: On 29/03/2022 14.54, Marta Rybczynska wrote: > Add an option to output the CVE check in a JSON-based format. > This format is

[OE-core] [PATCH 2/2] zlib: minizip: add recipe

2022-07-11 Thread Sean Nyekjaer
Signed-off-by: Sean Nyekjaer --- meta/recipes-core/zlib/minizip_1.2.12.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-core/zlib/minizip_1.2.12.bb diff --git a/meta/recipes-core/zlib/minizip_1.2.12.bb b/meta/recipes-core/zlib/minizip_1.2.12.bb new

[OE-core] [PATCH 1/2] zlib: split src_uri into inc file

2022-07-11 Thread Sean Nyekjaer
Signed-off-by: Sean Nyekjaer --- meta/recipes-core/zlib/zlib.inc | 4 meta/recipes-core/zlib/zlib_1.2.12.bb | 18 +- 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 meta/recipes-core/zlib/zlib.inc diff --git a/meta/recipes-core/zlib/zlib.inc b

Re: [OE-core] [PATCH 2/2] zlib: minizip: add recipe

2022-07-11 Thread Sean Nyekjaer
On Mon, Jul 11, 2022 at 09:46:58AM +0100, Richard Purdie wrote: > On Mon, 2022-07-11 at 10:33 +0200, Sean Nyekjaer wrote: > > Signed-off-by: Sean Nyekjaer > > --- > > meta/recipes-core/zlib/minizip_1.2.12.bb | 15 +++ > > 1 file changed, 15 insertions(+) &

Re: [OE-core] [PATCH 2/2] zlib: minizip: add recipe

2022-07-11 Thread Sean Nyekjaer
On Mon, Jul 11, 2022 at 09:58:38AM +0100, Richard Purdie wrote: > On Mon, 2022-07-11 at 10:53 +0200, Sean Nyekjaer wrote: > > On Mon, Jul 11, 2022 at 09:46:58AM +0100, Richard Purdie wrote: > > > On Mon, 2022-07-11 at 10:33 +0200, Sean Nyekjaer wrote: > > > >

Re: [OE-core] [PATCH 1/2] zlib: split src_uri into inc file

2022-07-11 Thread Sean Nyekjaer
On Mon, Jul 11, 2022 at 07:07:38PM +0100, Khem Raj wrote: > We are in process of merging the inc files can you cite reasons why we want > to split it > @Khem: Inside the zlib artifact resides a contrib directory that contains more libs, one of them minizip are we using in our project. /Sean

Re: [OE-core] [PATCH 1/2] zlib: split src_uri into inc file

2022-07-11 Thread Sean Nyekjaer
On Mon, Jul 11, 2022 at 08:29:24PM +0100, Khem Raj wrote: > On Mon, Jul 11, 2022 at 8:27 PM Sean Nyekjaer wrote: > > > On Mon, Jul 11, 2022 at 07:07:38PM +0100, Khem Raj wrote: > > > We are in process of merging the inc files can you cite reasons why we &g

Re: [OE-core][PATCH v3 1/2] cve-check: add json format

2022-06-21 Thread Sean Nyekjaer
On 29/03/2022 14.54, Marta Rybczynska wrote: Add an option to output the CVE check in a JSON-based format. This format is easier to parse in software than the original text-based one and allows post-processing by other tools. Output formats are now handed by CVE_CHECK_FORMAT_TEXT and

[OE-core] [PATCH v2 2/2] zlib: minizip: add recipe

2022-07-15 Thread Sean Nyekjaer
Add the minizip library for use as a dependency. zlib doesn't support vanilla autotools, but atleast this minizip does. minizip does depend on zlib, so combining these recipes turns out to be a quite hacky approach. Signed-off-by: Sean Nyekjaer --- Should we keep Denys Dmytriyenko as maintainer

[OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file

2022-07-15 Thread Sean Nyekjaer
This is done in preparation for adding packages from the zlib contrib directory. Unfortunatly it's not possible to add these via pkgconfig. Signed-off-by: Sean Nyekjaer --- With this we are maintaining the same verison number for both zlib and minizip in the recipe name. Would it be better

Re: [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file

2022-08-25 Thread Sean Nyekjaer
On 08/08/2022 12.20, Sean Nyekjaer wrote: On Mon, Jul 18, 2022 at 04:12:25PM +, Ross Burton wrote: This still seems overkill. You can build minizip from inside the zlib recipe by fixing the minizip Makefile (fix posted to https://github.com/madler/zlib/pull/681) and then adding one

Re: [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file

2022-08-08 Thread Sean Nyekjaer
On Mon, Jul 18, 2022 at 04:12:25PM +, Ross Burton wrote: > This still seems overkill. You can build minizip from inside the zlib recipe > by fixing the minizip Makefile (fix posted to > https://github.com/madler/zlib/pull/681) and then adding one line to > do_compile: > > oe_runmake

[OE-core] runqemu: ahci option

2024-01-10 Thread Sean Nyekjaer
Hi, We have an x86_64 machine that we create an wic image for. For bootloader we are using UEFI boot with u-boot as a EFI payload. U-boot doesn’t have support for virtio-scsi-pci, so it’s can’t detect a disk. U-boot however does some tests with the ahci driver: