Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-11 Thread Frederic Martinsons
On Mon, 11 Dec 2023 at 12:44, Alex Kiernan wrote: > On Mon, Dec 11, 2023 at 10:01 AM Frédéric Martinsons > wrote: > > > > > > > > On Mon, 11 Dec 2023 at 10:17, Alex Kiernan > wrote: > >> > >> On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons > >> wrote: > >> > > >> > > >> > > >> > On Sun,

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-11 Thread Frederic Martinsons
On Mon, 11 Dec 2023 at 10:17, Alex Kiernan wrote: > On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons > wrote: > > > > > > > > On Sun, 10 Dec 2023 at 21:28, Alex Kiernan > wrote: > >> > >> On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie > >> wrote: > >> > > >> > On Fri, 2023-12-08 at 14:03

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-10 Thread Frederic Martinsons
On Sun, 10 Dec 2023 at 21:28, Alex Kiernan wrote: > On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie > wrote: > > > > On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: > > > https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html > > > > > > Signed-off-by: Alex Kiernan > > > --- > > > > > >

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-10 Thread Frederic Martinsons
On Sun, 10 Dec 2023 at 21:35, Alexander Kanavin wrote: > I have to say, I struggle to see this as an improvement, and I want > to object to it. > > Why set the path manually, if the code to find where Cargo.lock is > just works, and handles the situations where upstreams move it around > in

Re: [OE-core] Migration dunfell to kirkstone , init manager issue

2023-11-19 Thread Frederic Martinsons
end to busybox and set explictely "CONFIG_INIT is not set" I gave up on understanding this change of behavior towards how it was done on dunfell (simply set INIT_MANAGER="systemd") > Le ven. 17 nov. 2023, 16:51, Frederic Martinsons via > lists.openembedded.org gmail@lis

Re: [OE-core] Migration dunfell to kirkstone , init manager issue

2023-11-18 Thread Frederic Martinsons
and update-alternatives class unless someone here have a clue about what is going on. Le ven. 17 nov. 2023, 16:51, Frederic Martinsons via lists.openembedded.org a écrit : > Hello, > > I recently started upgrading my system from dunfell to kirkstone and I > started with a basic (but custom

[OE-core] Migration dunfell to kirkstone , init manager issue

2023-11-17 Thread Frederic Martinsons
Hello, I recently started upgrading my system from dunfell to kirkstone and I started with a basic (but custom nonetheless) qemu image that I used in dunfell (before starting machine/distro specific ops). After several corrections , many thanks by the way for the various convert scripts !, I

Re: [OE-core] [PATCH] rust: reproducibility issue fix

2023-10-12 Thread Frederic Martinsons
On Thu, 12 Oct 2023 at 08:37, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Tue, 2023-10-10 at 21:05 -0700, Sundeep KOKKONDA via > lists.openembedded.org wrote: > > [Yocto#14875] > > The '--remap-path-prefix' option removes all references to build > directory structure in the

Re: [OE-core] [PATCH] rust: reproducibility issue fix

2023-10-11 Thread Frederic Martinsons
Le mer. 11 oct. 2023, 16:32, Sundeep KOKKONDA via lists.openembedded.org a écrit : > I looked briefly into the issue 15090 (zvariant recipe) description and as > per me it should be tested before removing EXCLUDE_FROM_WORLD to ensure the > builds are reproducible. I'll try do that in the

Re: [OE-core] [PATCH] rust: reproducibility issue fix

2023-10-11 Thread Frederic Martinsons
On Wed, 11 Oct 2023 at 14:27, Frederic Martinsons via lists.openembedded.org wrote: > very great news to read ! > > > On Wed, 11 Oct 2023 at 13:03, Alex Kiernan wrote: > >> On Wed, Oct 11, 2023 at 5:06 AM Sundeep KOKKONDA via >> lists.openembedded.org >&g

Re: [OE-core] [PATCH] rust: reproducibility issue fix

2023-10-11 Thread Frederic Martinsons
very great news to read ! On Wed, 11 Oct 2023 at 13:03, Alex Kiernan wrote: > On Wed, Oct 11, 2023 at 5:06 AM Sundeep KOKKONDA via > lists.openembedded.org > wrote: > > > > [Yocto#14875] > > The '--remap-path-prefix' option removes all references to build > directory structure in the debug

Re: [OE-core] rust: why is it built in do_install()

2023-09-01 Thread Frederic Martinsons
Hello Enrico, Le ven. 1 sept. 2023, 18:34, Enrico Scholz via lists.openembedded.org a écrit : > Hello, > > rust recipe does > > | do_compile () { > | } > | > | rust_do_install() { > | rust_runx install > | } > | > | rust_do_install:class-nativesdk() { > | export PSEUDO_UNLOAD=1 > |

Re: [OE-core][PATCH] kernel.bbclass: Add file exist checks around removes

2023-08-31 Thread Frederic Martinsons
On Thu, 31 Aug 2023 at 15:49, Ryan Eatmon wrote: > > > On 8/31/2023 8:47 AM, Frédéric Martinsons wrote: > > Hello, > > > > On Thu, 31 Aug 2023 at 15:38, Ryan Eatmon via lists.openembedded.org > > > > wrote: > > > > The

Re: [OE-core][PATCH] kernel.bbclass: Add file exist checks around removes

2023-08-31 Thread Frederic Martinsons
Hello, On Thu, 31 Aug 2023 at 15:38, Ryan Eatmon via lists.openembedded.org wrote: > The latest 6.5 kernels do not appear to create the source file in > ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the > recipe errors out when trying to remove it. Simple fix is to add an >

Re: [OE-core] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-24 Thread Frederic Martinsons
Le jeu. 24 août 2023, 22:18, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Thu, 2023-08-24 at 15:04 +0100, Richard Purdie via > lists.openembedded.org wrote: > > On Wed, 2023-08-23 at 22:16 +0100, Richard Purdie via > > lists.openembedded.org wrote: > > > On Tue, 2023-08-22

Re: [OE-core] [PATHCH V5 3/4] rust: provide examples for C library generation in rust

2023-08-16 Thread Frederic Martinsons
On Wed, 16 Aug 2023 at 23:17, Alexandre Belloni < alexandre.bell...@bootlin.com> wrote: > On 16/08/2023 22:05:08+0200, Frederic Martinsons wrote: > > On Wed, 16 Aug 2023 at 20:59, Alexandre Belloni < > > alexandre.bell...@bootlin.com> wrote: > > > > >

[OE-core] [PATHCH V6 4/4] oeqa/runtime/rust: correct rust test

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: == NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE

[OE-core] [PATHCH V6 3/4] rust: provide examples for C library generation in rust

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [PATHCH V6 1/4] rust: add cargo-c native recipe

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [PATHCH V6 2/4] classes-recipe: add cargo_c.bbclass

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo_c". Signed-off-by: Frederic Martinsons ---

[OE-core] [PATHCH V6 0/4] Introduction of cargo-c class and recipe

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This series introduces a cargo-c.bbclass and cargo-c-native package that help building C-ABI compatible header and library around rust code. The third patch add examples and test to demonstrate the usage and the good working of this use case. The fourth patch correct

Re: [OE-core] [PATHCH V5 3/4] rust: provide examples for C library generation in rust

2023-08-16 Thread Frederic Martinsons
On Wed, 16 Aug 2023 at 20:59, Alexandre Belloni < alexandre.bell...@bootlin.com> wrote: > Hello, > > On 16/08/2023 12:33:32+0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > > > rust-c-lib-example is a little rust code which provide > >

[OE-core] [PATHCH V5 1/4] rust: add cargo-c native recipe

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [PATHCH V5 4/4] oeqa/runtime/rust: correct rust test

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: == NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE

[OE-core] [PATHCH V5 3/4] rust: provide examples for C library generation in rust

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [PATHCH V5 2/4] classes-recipe: add cargo_c.bbclass

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo_c". Signed-off-by: Frederic Martinsons ---

[OE-core] [PATHCH V5 0/4] Introduction of cargo-c class and recipe

2023-08-16 Thread Frederic Martinsons
From: Frederic Martinsons This series introduces a cargo-c.bbclass and cargo-c-native package that help building C-ABI compatible header and library around rust code. The third patch add examples and test to demonstrate the usage and the good working of this use case. The fourth patch correct

Re: [OE-core] [PATHCH V4 1/4] rust: add cargo-c native recipe

2023-08-16 Thread Frederic Martinsons
Le mer. 16 août 2023, 12:03, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Wed, 2023-08-16 at 11:56 +0200, Frédéric Martinsons wrote: > > > > > > Le mer. 16 août 2023, 11:23, Richard Purdie > > a écrit : > > > On Wed, 2023-08-16

Re: [OE-core] [PATHCH V4 1/4] rust: add cargo-c native recipe

2023-08-16 Thread Frederic Martinsons
Le mer. 16 août 2023, 11:23, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Wed, 2023-08-16 at 07:41 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > > > This package make it easier to generate C/C++ ABI compatible > >

[OE-core] [PATHCH V4 4/4] oeqa/runtime/rust: correct rust test

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: == NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE

[OE-core] [PATHCH V4 3/4] rust: provide examples for C library generation in rust

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [PATHCH V4 2/4] classes-recipe: add cargo_c.bbclass

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo_c". Signed-off-by: Frederic Martinsons ---

[OE-core] [PATHCH V4 1/4] rust: add cargo-c native recipe

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [PATHCH V4 0/4] Introduction of cargo-c class and recipe

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This series introduces a cargo-c.bbclass and cargo-c-native package that help building C-ABI compatible header and library around rust code. The third patch add examples and test to demonstrate the usage and the good working of this use case. The fourth patch correct

Re: [OE-core] [PATHCH V3 2/4] classes-recipe: add cargo_c.bbclass

2023-08-15 Thread Frederic Martinsons
Le mer. 16 août 2023, 01:11, Peter Kjellerstedt a écrit : > > -Original Message- > > From: openembedded-core@lists.openembedded.org < > openembedded-core@lists.openembedded.org> On Behalf Of Frederic Martinsons > > Sent: den 15 augusti 2023 17:3

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-15 Thread Frederic Martinsons
sts.openembedded.org wrote: >> > On Sun, 2023-08-13 at 12:48 +0200, Frédéric Martinsons wrote: >> > > >> > > >> > > Le dim. 13 août 2023, 12:23, Richard Purdie >> > > a écrit : >> > > > On Sun, 2023-08-13 at 10:23 +0200, Freder

[OE-core] [PATHCH V3 4/4] oeqa/runtime/rust: correct rust test

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: == NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE

[OE-core] [PATHCH V3 2/4] classes-recipe: add cargo_c.bbclass

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo-c". Signed-off-by: Frederic Martinsons ---

[OE-core] [PATHCH V3 3/4] rust: provide examples for C library generation in rust

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [PATHCH V3 1/4] rust: add cargo-c native recipe

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [PATHCH V3 0/4] Introduction of cargo-c class and recipe

2023-08-15 Thread Frederic Martinsons
From: Frederic Martinsons This series introduces a cargo-c.bbclass and cargo-c-native package that help building C-ABI compatible header and library around rust code. The third patch add examples and test to demonstrate the usage and the good working of this use case. The fourth patch correct

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-14 Thread Frederic Martinsons
Le lun. 14 août 2023, 10:46, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Mon, 2023-08-14 at 09:30 +0200, Frédéric Martinsons wrote: > > > > > > On Sun, 13 Aug 2023 at 17:05, Richard Purdie > > wrote: > > > On Sun, 2023-08-13 at 17:00 +0200, Frédéric Martinsons wrote: > >

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-14 Thread Frederic Martinsons
On Sun, 13 Aug 2023 at 17:05, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Sun, 2023-08-13 at 17:00 +0200, Frédéric Martinsons wrote: > > On Sun, 13 Aug 2023 at 16:53, Richard Purdie > > wrote: > > > > > > and a reproducibility failure: > > > > > > >

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-13 Thread Frederic Martinsons
On Sun, 13 Aug 2023 at 17:05, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Sun, 2023-08-13 at 17:00 +0200, Frédéric Martinsons wrote: > > On Sun, 13 Aug 2023 at 16:53, Richard Purdie > > wrote: > > > > > > and a reproducibility failure: > > > > > > >

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-13 Thread Frederic Martinsons
> > > On Sun, 2023-08-13 at 12:48 +0200, Frédéric Martinsons wrote: > > > > > > > > > > > > Le dim. 13 août 2023, 12:23, Richard Purdie > > > > a écrit : > > > > > On Sun, 2023-08-13 at 10:23 +0200, Frederic Martinsons wrote: >

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-13 Thread Frederic Martinsons
t; > > > Le dim. 13 août 2023, 12:23, Richard Purdie > > > a écrit : > > > > On Sun, 2023-08-13 at 10:23 +0200, Frederic Martinsons wrote: > > > > > From: Frederic Martinsons > > > > > > > > > > This is an RFC for introducing a ne

Re: [OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-13 Thread Frederic Martinsons
Le dim. 13 août 2023, 12:23, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Sun, 2023-08-13 at 10:23 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > > > This is an RFC for introducing a new class and recipes that > > help

[OE-core] [PATCHV2 4/4] oeqa/runtime/rust: correct rust test

2023-08-13 Thread Frederic Martinsons
From: Frederic Martinsons Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command: NOTE: == NOTE: FAIL: test_cargo_compile (rust.RustCompileTest) NOTE

[OE-core] [PATCHV2 3/4] rust: provide examples for C library generation in rust

2023-08-13 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [PATCHV2 1/4] rust: add cargo-c recipe

2023-08-13 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [PATCHV2 2/4] classes-recipe: add cargo_c.bbclass

2023-08-13 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo-c". Signed-off-by: Frederic Martinsons ---

[OE-core] [RFC][PATCHV2 0/4] Introduction of cargo-c class and recipe

2023-08-13 Thread Frederic Martinsons
From: Frederic Martinsons This is an RFC for introducing a new class and recipes that help building C-ABI compatible header and library around rust code. The third patch add examples and test to demonstrate the usage and the good working of this use case. Test have been passed

Re: [OE-core] [RFC][PATCH 0/3] Introduction of cargo-c class and recipe

2023-08-12 Thread Frederic Martinsons
Le dim. 13 août 2023, 00:53, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Sat, 2023-08-12 at 16:49 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > > > This is an RFC for introducing a new class and recipes that > > help

[OE-core] [RFC][PATCH 3/3] rust: provide examples for C library generation in rust

2023-08-12 Thread Frederic Martinsons
From: Frederic Martinsons rust-c-lib-example is a little rust code which provide a single function to print a formatted date (via the chrono crate) from an input timestamp in millisecond. It has the necessary FFI annotation and inherit cargo_c class for the C ABI compatible library generation

[OE-core] [RFC][PATCH 1/3] rust: add cargo-c recipe

2023-08-12 Thread Frederic Martinsons
From: Frederic Martinsons This package make it easier to generate C/C++ ABI compatible header, library and also generate package config file. It is built around cbindgen (https://github.com/mozilla/cbindgen) for the header generation, it compiles the library (static or dynamic) through cargo

[OE-core] [RFC][PATCH 2/3] classes-recipe: add cargo_c.bbclass

2023-08-12 Thread Frederic Martinsons
From: Frederic Martinsons This class can be used inside rust recipe to generate a rust library that can be called by C/C++ code. The rust recipe which uses this class has to only replace "inherit cargo" by "inherit cargo-c". Signed-off-by: Frederic Martinsons ---

[OE-core] [RFC][PATCH 0/3] Introduction of cargo-c class and recipe

2023-08-12 Thread Frederic Martinsons
From: Frederic Martinsons This is an RFC for introducing a new class and recipes that help building C-ABI compatible header and library around rust code. The third patch is not meant to be merged (at least I'm wondering if this is really usefull in oe-core) but this could help the review

Re: [OE-core] Status of patchtest tool

2023-08-11 Thread Frederic Martinsons
Le ven. 11 août 2023, 09:05, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Fri, 2023-08-11 at 08:00 +0200, Michael Opdenacker via > lists.openembedded.org wrote: > > Hi Frederic, > > > > On 11.08.23 at 07:28, Frederic Martinsons wrote: > &

[OE-core] Status of patchtest tool

2023-08-10 Thread Frederic Martinsons
Hello list Michael recently made a change on contirubing guide talking about patchtest as a tool (quoting him) "to test user contributions before they hit the mailing lists; and looking in my older emails, Alexander also mentioned this tool as a (quoting him) "special bot called patchtest that

Re: [OE-core] [docs] Keep scripts/create-pull-request and send-pull-request ?

2023-08-10 Thread Frederic Martinsons
Le jeu. 10 août 2023, 16:09, Bruce Ashfield a écrit : > On Thu, Aug 10, 2023 at 10:04 AM Michael Opdenacker via > lists.yoctoproject.org > wrote: > > > > Greetings, > > > > I'm reviewing > > >

Re: [OE-core] [dunfell]] kernel: skip installing fitImage when using Initramfs bundles

2023-08-10 Thread Frederic Martinsons
On Thu, 10 Aug 2023 at 14:39, Frederic Martinsons via lists.openembedded.org wrote: > From: Abdellatif El Khlifi > > When including an initramfs bundle inside a FIT image, the fitImage is > created > after the install task by do_assemble_fitimage_initramfs. > > This happens

[OE-core] [dunfell]] kernel: skip installing fitImage when using Initramfs bundles

2023-08-10 Thread Frederic Martinsons
-off-by: Richard Purdie (cherry picked from commit 1b67fd9ac74935fa41e960478c54e45422339138) Signed-off-by: Frederic Martinsons --- meta/classes/kernel.bbclass | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes

Re: [OE-core][dunfell] kernel fitImage not found

2023-08-10 Thread Frederic Martinsons
On Thu, 10 Aug 2023 at 11:28, Frederic Martinsons via lists.openembedded.org wrote: > I forgot to add that I use INITRAMFS_IMAGE_BUNDLE=1 and kernel 4.19.284. > > I'm currently testing some fix (that I clearly not sure about the impact): > > diff --git a/meta/classes/kernel-fitim

Re: [OE-core][dunfell] kernel fitImage not found

2023-08-10 Thread Frederic Martinsons
fi + fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its fitImage-${INITRAMFS_IMAGE} 1 fi } On Wed, 9 Aug 2023 at 10:08, Frederic Martinsons via lists.openembedded.org wrote: > Hello > > since the introduction of two commits (8280c089b0d > <

[OE-core][dunfell] kernel fitImage not found

2023-08-09 Thread Frederic Martinsons
Hello since the introduction of two commits (8280c089b0d and e3eb79c0a1

Re: [OE-core] [PATCH 0/3] Use frozen flag for cargo build

2023-08-02 Thread Frederic Martinsons
Le mer. 2 août 2023, 15:16, a écrit : > From: Frederic Martinsons > > This patch series force the usage of --frozen instead of --offline during > cargo build. > This has the advantage to be sure that Cargo.lock file will not be > modified. > Moreover, raise a clear

[OE-core] [PATCH 3/3] drop rust-hello-world recipe

2023-08-02 Thread Frederic Martinsons
From: Frederic Martinsons we now have more rust/cargo recipes and test that covers various use cases. Signed-off-by: Frederic Martinsons --- meta/conf/distro/include/maintainers.inc | 1 - meta/lib/oeqa/runtime/cases/rust.py | 12 -- .../packagegroup-core-tools

[OE-core] [PATCH 2/3] cargo_common.bbclass: Handle Cargo.lock modifications for git dependencies

2023-08-02 Thread Frederic Martinsons
From: Frederic Martinsons Now we use --frozen, Cargo.lock cannot be modified by cargo build. These patched git dependencies requires that the git url is removed from Cargo.lock. Fixes #15104 Signed-off-by: Frederic Martinsons --- meta/classes-recipe/cargo_common.bbclass | 41

[OE-core] [PATCH 1/3] cargo.bbclass: Use --frozen flag for cargo operations

2023-08-02 Thread Frederic Martinsons
From: Frederic Martinsons It supersed the --offline flag and guarantee that Cargo.lock file will not be modified during the build. Signed-off-by: Frederic Martinsons --- meta/classes-recipe/cargo.bbclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH 0/3] Use frozen flag for cargo build

2023-08-02 Thread Frederic Martinsons
From: Frederic Martinsons This patch series force the usage of --frozen instead of --offline during cargo build. This has the advantage to be sure that Cargo.lock file will not be modified. Moreover, raise a clear error when Cargo.lock is not present. For this to work, we must modify ourself

Re: [OE-core] [PATCH] kernel: Don't fail if Modules.symvers doesn't exist

2023-08-02 Thread Frederic Martinsons
On Wed, 2 Aug 2023 at 13:47, Joel Stanley wrote: > The one liner tests using `[ ] && action` need to have || true after the > action, > otherwise the line returns false and the recipie fails. > > Signed-off-by: Joel Stanley > --- > meta/classes-recipe/kernel.bbclass | 4 ++-- > 1 file changed,

Re: [OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-08-01 Thread Frederic Martinsons
Ok, thanks you all for the answers. I'll then add a new patch to make this cleansing and drop the patch I made to use --offline instead of --frozen (no more needed) Le mar. 1 août 2023, 12:04, Alex Kiernan a écrit : > On Tue, Aug 1, 2023 at 11:01 AM Richard Purdie > wrote: > > > > On Tue,

Re: [OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-08-01 Thread Frederic Martinsons
zariant rust recipe is tested for devtool cases there The test case mentioned earlier seems to verify that we can run rust test code, do we want to keep testing that rust binary can run ? If so, how

Re: [OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-08-01 Thread Frederic Martinsons
Ok but this raises other questions then, this recipe is part of packagegroup-core-tools-tesapps and is part of a test case

Re: [OE-core] [PATCH 0/3] Use frozen flag for cargo build

2023-08-01 Thread Frederic Martinsons
ert to previous behavior via new variable, but > I'm struggling to understand: to what end? > > Alex > > > > > > On Mon, 31 Jul 2023 at 11:44, Frederic Martinsons > wrote: > > > > From: Frederic Martinsons > > > > This patch series

Re: [OE-core] [PATCH 2/3] cargo_common.bbclass: Handle Cargo.lock modifications for git dependencies

2023-08-01 Thread Frederic Martinsons
Thank you for the tips, will work on a v2 implementing that you suggested On Tue, 1 Aug 2023 at 10:44, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Mon, 2023-07-31 at 11:44 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > &g

Re: [OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-08-01 Thread Frederic Martinsons
; richard.pur...@linuxfoundation.org> wrote: > On Mon, 2023-07-31 at 11:44 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons > > > > And use that for rust-hello-world recipe that did not ship > > a Cargo.lock file. > > > > Signed-off-by

[OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-07-31 Thread Frederic Martinsons
From: Frederic Martinsons And use that for rust-hello-world recipe that did not ship a Cargo.lock file. Signed-off-by: Frederic Martinsons --- meta/classes-recipe/cargo.bbclass | 4 +++- meta/classes-recipe/cargo_common.bbclass | 3 +++ meta/recipes

[OE-core] [PATCH 2/3] cargo_common.bbclass: Handle Cargo.lock modifications for git dependencies

2023-07-31 Thread Frederic Martinsons
From: Frederic Martinsons Now we use --frozen, Cargo.lock cannot be modified by cargo build. These patched git dependencies requires that the git url is removed from Cargo.lock. Fixes #15104 Signed-off-by: Frederic Martinsons --- meta/classes-recipe/cargo_common.bbclass | 40

[OE-core] [PATCH 1/3] cargo.bbclass: Use --frozen flag for cargo operations

2023-07-31 Thread Frederic Martinsons
From: Frederic Martinsons It supersed the --offline flag and guarantee that Cargo.lock file will not be modified during the build. Signed-off-by: Frederic Martinsons --- meta/classes-recipe/cargo.bbclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH 0/3] Use frozen flag for cargo build

2023-07-31 Thread Frederic Martinsons
From: Frederic Martinsons This patch series force the usage of --frozen instead of --offline during cargo build. This has the advantage to be sure that Cargo.lock file will not be modified. Moreover, raise a clear error when Cargo.lock is not present. For this to work, we must modify ourself

Re: [OE-core] About requirements on cross compiling rust package

2023-07-30 Thread Frederic Martinsons
gt; know if I can suppress it > or if I need to create a Cargo.lock for it. > > On Thu, 20 Jul 2023 at 14:00, Frederic Martinsons via > lists.openembedded.org gmail@lists.openembedded.org> wrote: > >> Hello list, >> >> In the course of YOCTO #15104 >> <https://

[OE-core] [PATCH] ptest-cargo.bbclass: Support of cargo workspaces

2023-07-28 Thread Frederic Martinsons
From: Frederic Martinsons For complex project, it is very common to have multiple sub artifacts and so use workspaces, sometimes it has even no root artifacts (but several bin or lib) and virtual manifest is used for that. Long story short, support this case in ptest-cargo class to look for all

Re: [OE-core] About requirements on cross compiling rust package

2023-07-24 Thread Frederic Martinsons
th --frozen flag without having a Cargo.lock file), I don't know if I can suppress it or if I need to create a Cargo.lock for it. On Thu, 20 Jul 2023 at 14:00, Frederic Martinsons via lists.openembedded.org wrote: > Hello list, > > In the course of YOCTO #15104 > <https://bugzilla.yoctopr

[OE-core] About requirements on cross compiling rust package

2023-07-20 Thread Frederic Martinsons
Hello list, In the course of YOCTO #15104 , I finally found the issue was due to a missing Cargo.lock file at the root of the project (which is pretty usual for a Rust project from git since Cargo.lock is only required when publishing on

[OE-core] [PATCH] ptest-cargo.bbclass: fix condition to detect test executable

2023-07-06 Thread Frederic Martinsons
From: Frederic Martinsons before that, a test executable at None was picked. Moreover, use universal_newlines to subprocess call to avoid being polluted by fancy carriage return characters. Signed-off-by: Frederic Martinsons --- meta/classes-recipe/ptest-cargo.bbclass | 6 +++--- 1 file

Re: [OE-core] [PATCH v14] Rust Oe-Selftest implementation

2023-05-31 Thread Frederic Martinsons
Le mar. 30 mai 2023, 23:20, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Tue, 2023-05-30 at 14:28 -0400, Randy MacLeod wrote: > > > > > > I did put this into a build for testing on the autobuilder. It > > > hasn't > > > been running long and I can already see build failures

Re: [OE-core] [PATCH v14] Rust Oe-Selftest implementation

2023-05-30 Thread Frederic Martinsons
Oh okay, didn't try that personnaly. the class is currently tied to cargo behavior so for performing rust core tests, it will not be suitable (at least in its present form) Le mar. 30 mai 2023, 16:44, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Tue, 2023-05-30 at 16:35

Re: [OE-core] [PATCH v14] Rust Oe-Selftest implementation

2023-05-30 Thread Frederic Martinsons
Beside the errors pointed by Richard, I'm wondering how it behave with the ptest-cargo class? Does this class still useful with this work? Is it some kind of complementary or did it concern a totally different matter/use case ? Le mar. 30 mai 2023, 15:59, Richard Purdie <

[OE-core] [PATCH] ptest-cargo.bbclass: add the possibility to define test arguments

2023-05-06 Thread Frederic Martinsons
From: Frederic Martinsons It can be useful for user of this class for giving common rust test arguments (like --shuffle, --format or --test-threads) To add arguments to test binary , simply define RUST_TEST_ARGS in your recipe that inherit ptest-cargo, for example: RUST_TEST_ARGS = "--sh

Re: [OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
On Fri, 5 May 2023 at 21:21, Michael Opdenacker < michael.opdenac...@bootlin.com> wrote: > Hi Frederic > > On 05.05.23 at 19:17, Frederic Martinsons wrote: > > Hello list > > > > I'm wondering if there are documentations on how contribution are > > managed

Re: [OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
he Newcomer list is > probably the best place to get yourself familiarized. > > You may find this page useful when it comes to recipe upgrades: > https://docs.yoctoproject.org/dev/dev-manual/upgrading-recipes.html > Alright, I will take a look. Thanks trevor. > - Trevor > > >

Re: [OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
On Fri, 5 May 2023 at 21:05, Alexander Kanavin wrote: > On Fri, 5 May 2023 at 20:26, Frédéric Martinsons > wrote: > > That's what I did for unit test of rust recipes and I didn't get much > comments beside you and khem 15 days ago. And I still don't know if my > patches are an issue or if

Re: [OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
also be very > useful, while providing better understanding of how recipes are written > and being somewhat more accessible. > > You can also ask questions in the #yocto channel on the Libera.Chat IRC > server if you need additional help. > > - Trevor > > > > > Alex &

Re: [OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
t; Alex > Ah great, if you point me to where I can find insights about this patchset test framework, I would gladly offer my help to fox the issue. From what you are saying, I understand that fixing this will make the contribution smoothier. On Fri, 5 May 2023 at 19:17, Frederic Martinsons

[OE-core] Contributing, how it works?

2023-05-05 Thread Frederic Martinsons
Hello list I'm wondering if there are documentations on how contribution are managed for the project. I try to find some but didn't manage to. There are easily reachable doc about how to contribute of course (how to make patches, fixe your identity, send mail via git... etc) but I didn't find

Re: [OE-core] [RFC] python3-cryptogaphy upgrade to 40.0.2 issues

2023-05-04 Thread Frederic Martinsons
Le jeu. 4 mai 2023, 21:44, Peter Bergin a écrit : > > On 2023-05-04 19:13, Frederic Martinsons wrote: > > > > Le jeu. 4 mai 2023, 13:42, Peter Bergin a écrit : > >> >> On 2023-05-04 12:03, Frederic Martinsons wrote: >> >> >>

Re: [OE-core] [RFC] python3-cryptogaphy upgrade to 40.0.2 issues

2023-05-04 Thread Frederic Martinsons
Le jeu. 4 mai 2023, 13:42, Peter Bergin a écrit : > > On 2023-05-04 12:03, Frederic Martinsons wrote: > > > > Le jeu. 4 mai 2023, 11:31, Frédéric Martinsons < > frederic.martins...@gmail.com> a écrit : > >> >> >> On Thu, 4 May 2023 at 11:00, Alexan

Re: [OE-core] [RFC] python3-cryptogaphy upgrade to 40.0.2 issues

2023-05-04 Thread Frederic Martinsons
Le jeu. 4 mai 2023, 11:31, Frédéric Martinsons < frederic.martins...@gmail.com> a écrit : > > > On Thu, 4 May 2023 at 11:00, Alexander Kanavin > wrote: > >> On Thu, 4 May 2023 at 10:41, Peter Bergin wrote: >> >> > At >> > >>

Re: [OE-core] [RFC] python3-cryptogaphy upgrade to 40.0.2 issues

2023-05-04 Thread Frederic Martinsons
On Thu, 4 May 2023 at 11:00, Alexander Kanavin wrote: > On Thu, 4 May 2023 at 10:41, Peter Bergin wrote: > > > At > > > https://github.com/pyca/cryptography/blob/f816b457494e010b655cd7fdcd30e3446f86a703/src/rust/build.rs#L46 > > the path to python includes is defined by calling 'python3 -c

  1   2   3   >