Re: [yocto] Files are not saved to recipe-sysroot-native

2024-06-28 Thread Evgeny Sagatov
Yes, this is true.As an example, I compared the files tree in "image" dir in unzip-native recipe. There's a full path there too. Thanks so much for the clarification, Tomas! Sincerely, Evgeny Sagatov 28.06.2024, 13:28, "tp...@email.cz" :Thanks for pointing that out. I didn't realize that immedi

Re: [yocto] Class file priority between meta-rust and oe-core layers

2024-06-28 Thread Mark Corbin via lists.yoctoproject.org
On Thu, 27 Jun 2024 at 15:28, Martin Jansa wrote: > On Thu, Jun 27, 2024 at 4:23 PM Richard Purdie via > lists.yoctoproject.org > wrote: > > > > On Thu, 2024-06-27 at 13:35 +0100, Mark Corbin via > > lists.yoctoproject.org wrote: > > > Hello > > > > > > I'm currently updating my project from Kir

Re: [yocto] Files are not saved to recipe-sysroot-native

2024-06-28 Thread tpmls
Thanks for pointing that out. I didn't realize that immediately. Sorry. I've tried to build your recipe locally and it seems to be solved by setting the INSTALL_DIR variable to "${base_prefix}/opt", because the base_prefix is modified when inheriting the native bbclass. Tomas -=-=-=-=-=-=-=-=-

Re: [yocto] Files are not saved to recipe-sysroot-native

2024-06-28 Thread Evgeny Sagatov
Hello Tomas, I added the SYSROOT_DIRS_NATIVE variable, but it didn't have any effect. The documentation states that SYSROOT_DIRS_NATIVE is a complement to SYSROOT_DIRS.The contents of the SYSROOT_DIRS are valid for native recipes. That is, there is no need for duplication in SYSROOT_DIRS_NATIVE. >

Re: [yocto] Files are not saved to recipe-sysroot-native

2024-06-28 Thread tpmls
Hello Evgeny, if I understand your issue correctly, you also need to add the INSTALL_DIR path to the SYSROOT_DIRS_NATIVE variable, as the "/opt" is a non-standard path in Yocto. You already did that for the SYSROOT_DIRS variable, which is why the files were placed in recipe-sysroot when dependi

Re: [yocto] Issue with Integrating NPM Package Dependencies in Yocto

2024-06-28 Thread Alexander Kanavin
I would suggest to start with poky master and one of its standard targets. If the issue occurs there as well, it's easier for everyone to help, and if not, you can try to bisect where it broke. Alex On Fri, 28 Jun 2024 at 07:08, Daniel via lists.yoctoproject.org wrote: > > Hello, everyone > > I

Re: [yocto] Files are not saved to recipe-sysroot-native

2024-06-28 Thread Alexander Kanavin
It helps if you show the commands and their output as well. Files in image/ do not go to sysroots directly, first a subset of image/ goes to sysroot-destdir/ (in populate_sysroot task), and that is used for staging into dependent recipes' sysroots with prepare_recipe_sysroot(). Did they appear in