Yocto is pretty great! Unfortunately I feel like it gets a lot of criticism, but usually from people who haven't gotten to learn it. Like "I had to spend 2h on Yocto and this thing suuuuucks , I threw a docker image there and called it a day". Which is a pity, because when used correctly it's really powerful! From the article, I can't help but mention that one third of the "key terminology" is about codenames. What d…
Yocto, RockPi and SBOMs: Building modern embedded Linux images
41–50 of 125 posts
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#42Earlier quoted context omitted.
"Part of why it gets so much criticism is that Yocto’s learning curve is pure brutality." At one time when SoCs were RAM lean... and build specific patching, stripping and static linking was considered an acceptable tradeoff in the yocto build systems for IoT etc. The use-cases are extremely difficult to justify these days with 256MB of ram on a $5 SoC... However, the approach was commercially unsustainable from main…
Buddy what the fuck are you talking about Yocto launched in 2010 Buildroot launched in 2005 Both of these ecosystems coexisted in the era of sub $100 embedded Linux dev boards with way more than 256MB RAM Yocto has no excuse for making toolchain and system configuration modifications as difficult as it does.
The difference in unit volumes drives wide variances in tolerances of additional development difficulty/cost.
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#43Earlier quoted context omitted.
Buddy what the fuck are you talking about Yocto launched in 2010 Buildroot launched in 2005 Both of these ecosystems coexisted in the era of sub $100 embedded Linux dev boards with way more than 256MB RAM Yocto has no excuse for making toolchain and system configuration modifications as difficult as it does.
There is a big difference in just about everything relating to selling something with a sub $10 BOM and something approximating a “sub $100 dev board.” The difference in unit volumes drives wide variances in tolerances of additional development difficulty/cost.
Some people seem irrationally passionate about the code smell of their own brand. =3
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#44As someone in the Software Supply Chain business. Yocto SBOMs are considered low quality because they include things that do and do not exist in the final compiled artifact. When you compare what exists inside, physically from a binary perspective, what is included in the manifest, and what is generated in the build root, you will find they will never align unless you get creative and map artifacts together. Today th…
It would seem to be a nearly impossible thing to automate.
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#45Yocto is pretty great! Unfortunately I feel like it gets a lot of criticism, but usually from people who haven't gotten to learn it. Like "I had to spend 2h on Yocto and this thing suuuuucks , I threw a docker image there and called it a day". Which is a pity, because when used correctly it's really powerful! From the article, I can't help but mention that one third of the "key terminology" is about codenames. What d…
It's powerful but bitbake wasn't so much designed as emerged from a primordial soup, it's easy to go completely insane trying to debug it due to the amount of action-at-distance recipes and layers can create. (try playing the "where did this compile flag come from?" game)
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#46Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#47Last time I tried Yocto, some people here on HN suggested that I try Buildroot instead. I don’t see so many mentions of Buildroot in this thread yet. If you are interested in Yocto it might be worth having a look at Buildroot as well. I liked it a lot when I tried it. My thread from years ago, where people told me about Buildroot: https://news.ycombinator.com/item?id=18083506 The website of Buildroot: https://buildro…
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#48Earlier quoted context omitted.
I'm honestly impressed by how...well it works. Considering it's building an entire, totally custom Linux distro from scratch it requires a surprisingly little amount of hand-holding.
I agree. I don't understand how people prefer buildroot. Buildroot feels like an adhoc system of glued together Makefiles, whereas yocto actually feels like it was built for purpose.
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#49>you can’t run “apt update” if you want to get a little weird, you can tell yocto to compile everything into deb packages and host them yourself with something like aptly
Or you can, you know, just run Debian.
Re: Yocto, RockPi and SBOMs: Building modern embedded Linux images
#50I think long term yocto and build root are going to be replaced by container tooling. Theres not that big of a difference between compiling an OS image and building a container image.