|
Should changing a task in the .bb file cause the task to be rerun?
Sadly custom bbclasses and BSP layers have this effect on my builds and I can't fully trust local incremental builds. Hence I clean sstate cache often. -Mikko
Sadly custom bbclasses and BSP layers have this effect on my builds and I can't fully trust local incremental builds. Hence I clean sstate cache often. -Mikko
|
By
Mikko Rapeli
· #48737
·
|
|
Should changing a task in the .bb file cause the task to be rerun?
This is what I've come to expect with yocto 2.0 jethro, 2.5 sumo and 3.0 zeus. That's why I always write: $ bitbake -c clean recipe && bitbake -c cleansstate && bitbake -c compile recipe when debuggin
This is what I've come to expect with yocto 2.0 jethro, 2.5 sumo and 3.0 zeus. That's why I always write: $ bitbake -c clean recipe && bitbake -c cleansstate && bitbake -c compile recipe when debuggin
|
By
Mikko Rapeli
· #48724
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, Thanks for this explanation! Hmm. I would rather see FOO_append += "bar" being used every time when spaces are expected. It's way too easy to forget the extra space which causes annoying and hard
Hi, Thanks for this explanation! Hmm. I would rather see FOO_append += "bar" being used every time when spaces are expected. It's way too easy to forget the extra space which causes annoying and hard
|
By
Mikko Rapeli
· #48531
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Yes, quite likely. Tough reason why += doesn't work is a mystery to me :) I hack things until "bitbake -e" shows the right things for the recipes. -Mikko
Yes, quite likely. Tough reason why += doesn't work is a mystery to me :) I hack things until "bitbake -e" shows the right things for the recipes. -Mikko
|
By
Mikko Rapeli
· #48522
·
|
|
Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build!
#yocto
#python
Looks good to me. Lucky you :) -Mikko
Looks good to me. Lucky you :) -Mikko
|
By
Mikko Rapeli
· #48512
·
|
|
Issue while adding the support for TLS1.3 in existing krogoth yocto
#yocto
#apt
#raspberrypi
Hi, openssl is tricky to update and requires backporting fixes for many, many recipes to get builds passing etc. Depending on project size, it may be possible to update only those components which you
Hi, openssl is tricky to update and requires backporting fixes for many, many recipes to get builds passing etc. Depending on project size, it may be possible to update only those components which you
|
By
Mikko Rapeli
· #48511
·
|
|
Creating a build system which can scale.
#yocto
Hi, Good pointers in this thread already. Here are mine: * Share sstate mirror and download cache from release builds to developer topic builds. NFS, web server or rsync before calling bitbake will wo
Hi, Good pointers in this thread already. Here are mine: * Share sstate mirror and download cache from release builds to developer topic builds. NFS, web server or rsync before calling bitbake will wo
|
By
Mikko Rapeli
· #48509
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, (lets keep this on the list too) You can add _class-[target|native|nativesdk] to all variables to override defaults. Verify with "bitbake -e". Hope this helps, -Mikko
Hi, (lets keep this on the list too) You can add _class-[target|native|nativesdk] to all variables to override defaults. Verify with "bitbake -e". Hope this helps, -Mikko
|
By
Mikko Rapeli
· #48506
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, Make the systemd dependency for target only, e.g. DEPENDS_class-target += "systemd" etc. There may be relevant use cases to build some of systemd components or tools to native or nativesdk targets
Hi, Make the systemd dependency for target only, e.g. DEPENDS_class-target += "systemd" etc. There may be relevant use cases to build some of systemd components or tools to native or nativesdk targets
|
By
Mikko Rapeli
· #48503
·
|
|
[OE-core] [yocto] Change RO rootfs failed RF Kill Switch Status and Failed to start Run pending postinsts
Well I have zeus and am using read-only rootfs with volatile binds and I did not need anything extra. I would dig into this /var/log thing and patch it away. I use systemd journal so no need for syslo
Well I have zeus and am using read-only rootfs with volatile binds and I did not need anything extra. I would dig into this /var/log thing and patch it away. I use systemd journal so no need for syslo
|
By
Mikko Rapeli
· #48499
·
|
|
[OE-core] [yocto] Change RO rootfs failed RF Kill Switch Status and Failed to start Run pending postinsts
(trimming lists to yocto only) Hi, I think you may be missing volatile-binds package and service from your image. See poky/meta/recipes-core/volatile-binds/volatile-binds.bb It may be missing /var/log
(trimming lists to yocto only) Hi, I think you may be missing volatile-binds package and service from your image. See poky/meta/recipes-core/volatile-binds/volatile-binds.bb It may be missing /var/log
|
By
Mikko Rapeli
· #48494
·
|
|
Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build!
#yocto
#python
Ah, indeed. svn is supported and for me it's working quite well. It has some issues like download cache locking when multiple recipes include the same URLs. Where possible, I've switched to using http
Ah, indeed. svn is supported and for me it's working quite well. It has some issues like download cache locking when multiple recipes include the same URLs. Where possible, I've switched to using http
|
By
Mikko Rapeli
· #48455
·
|
|
Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build!
#yocto
#python
Hmm. Rings a bell. I run builds with a local non-upstreamed patch: Author: Mikko Rapeli <mikko.rapeli@...> AuthorDate: Fri Sep 6 14:15:20 2019 +0200 Commit: Mikko Rapeli <mikko.rapeli@...> Commi
Hmm. Rings a bell. I run builds with a local non-upstreamed patch: Author: Mikko Rapeli <mikko.rapeli@...> AuthorDate: Fri Sep 6 14:15:20 2019 +0200 Commit: Mikko Rapeli <mikko.rapeli@...> Commi
|
By
Mikko Rapeli
· #48452
·
|
|
Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build!
#yocto
#python
Hi, I can't comment on svn fetcher but I use subversion via http fetcher. This way the local download cache can have the exact same file and builds can continue off line. One major gotcha is that all
Hi, I can't comment on svn fetcher but I use subversion via http fetcher. This way the local download cache can have the exact same file and builds can continue off line. One major gotcha is that all
|
By
Mikko Rapeli
· #48226
·
|
|
cve-checker name collisions
I always search for existing CVEs for the SW component and check what project and product names were used. For flex, Internet search shows for example https://www.suse.com/security/cve/CVE-2019-6293/
I always search for existing CVEs for the SW component and check what project and product names were used. For flex, Internet search shows for example https://www.suse.com/security/cve/CVE-2019-6293/
|
By
Mikko Rapeli
· #48154
·
|
|
cve-checker name collisions
Hi, Set CVE_PRODUCT to match real NVD product name with possibly vendor too. There are a few examples in poky master. Cheers, -Mikko
Hi, Set CVE_PRODUCT to match real NVD product name with possibly vendor too. There are a few examples in poky master. Cheers, -Mikko
|
By
Mikko Rapeli
· #48134
·
|
|
What should I expect when using SSTATE_MIRROR?
Hi, Maybe host tool versions differ which trigger recompilation of things like gcc and thus everything gets recompiled. You can use bitbake-diffsigs to figure out why rebuild was triggered. I work aro
Hi, Maybe host tool versions differ which trigger recompilation of things like gcc and thus everything gets recompiled. You can use bitbake-diffsigs to figure out why rebuild was triggered. I work aro
|
By
Mikko Rapeli
· #47586
·
|
|
linux-libc-headers - how to handle for older kernels?
Yes, this is what I meant. Basically just adjust the SRC_URI and possibly PV through a linux-libc-headers_%.bbappend in product or BSP specific meta layer. Cheers, -Mikko
Yes, this is what I meant. Basically just adjust the SRC_URI and possibly PV through a linux-libc-headers_%.bbappend in product or BSP specific meta layer. Cheers, -Mikko
|
By
Mikko Rapeli
· #47503
·
|
|
linux-libc-headers - how to handle for older kernels?
Hi, This is the problem I see with multiple BSPs. In the end for every one of them the best solution is to fork linux-libc-headers. Adding custom recipes to export headers for every BSP kernel is not
Hi, This is the problem I see with multiple BSPs. In the end for every one of them the best solution is to fork linux-libc-headers. Adding custom recipes to export headers for every BSP kernel is not
|
By
Mikko Rapeli
· #47486
·
|
|
linux-libc-headers - how to handle for older kernels?
Hi, How to find a Linux kernel uapi header file with custom ioctl() etc definitions which are missing form the default linux-libc-headers? Other recipes and SDK builds need these. Copying the needed h
Hi, How to find a Linux kernel uapi header file with custom ioctl() etc definitions which are missing form the default linux-libc-headers? Other recipes and SDK builds need these. Copying the needed h
|
By
Mikko Rapeli
· #47484
·
|