Re: [yocto] Task only for target recipe

2021-01-28 Thread Richard Purdie
On Thu, 2021-01-28 at 18:53 +0100, Ayoub Zaki via lists.yoctoproject.org wrote: > Hello I created a new task that I want to run for every recipe of my > image but only for target recipes and skip all native, sdk,... > mytask.bbclass: > > addtask do_mytask after do_install > > do_mytask() { >    

[yocto] Task only for target recipe

2021-01-28 Thread Ayoub Zaki via lists.yoctoproject.org
Hello I created a new task that I want to run for every recipe of my image but only for target recipes and skip all native, sdk,... mytask.bbclass: addtask do_mytask after do_install do_mytask() { : } do_mytask_class-target() { bbwarn "mytask" : } I added to local.conf : INHERIT

[yocto] git lfs not working in dunfell

2021-01-28 Thread Marek Belisko
Hi, I have repo where I'm using lfs. I've added to my SRC_URI = "git://.. ;lfs=1" and the project is fetched but the issue is that lfs files are shown as references only (content is not fetched). I briefly checked git fetcher in bitbake and seems it checks that repo have lfs content but I cann

[yocto] [meta-selinux][PATCH] policycoreutils: Improve reproducibility

2021-01-28 Thread Oleksiy Obitotskyy via lists.yoctoproject.org
LOCALEDIR should be set to target path, e.g. /usr/share/locale not host absolute path. This prevent to build reproducible package. LOCALEDIR constructed from: $(DESTDIR)$(PREFIX)/share/locale Change PREFIX from ${D} to ${prefix}. DESTDIR is not set during compilation and is set to proper value du

Re: [yocto] any interest in an official "meta-rubygems" layer?

2021-01-28 Thread Robert P. J. Day
On Wed, 27 Jan 2021, akuster wrote: > On 1/27/21 1:29 PM, Robert P. J. Day wrote: > > On Wed, 27 Jan 2021, Armin Kuster wrote: > > > >> > >> On 1/27/21 12:04 PM, Robert P. J. Day wrote: > >>> regarding the proposed "meta-rubygems" layer --- which sounds like > >>> it's going to take off as it ca