speeder has quit [Remote host closed the connection]
yannd has quit [Remote host closed the connection]
mattsm8 has joined #yocto
mattsm has quit [Ping timeout: 252 seconds]
mattsm8 is now known as mattsm
tlhonmey has joined #yocto
tlhonmey has quit [Client Quit]
zwelch has joined #yocto
Daanct12 has joined #yocto
mattsm has quit [Ping timeout: 255 seconds]
<merit>
say I've got some patches for the kernel that I need to apply - if I wanted to do that, I'd go find my kernel recipe and write a .bbappend that adds "SRC_URI" entries and "do_patch:append" definitions?
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
jclsn has joined #yocto
tokamak has joined #yocto
xmn has joined #yocto
pedrowiski__ has joined #yocto
pedrowiski_ has quit [Ping timeout: 264 seconds]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #yocto
ablu has quit [Ping timeout: 255 seconds]
ablu has joined #yocto
locutusofborg has quit [Read error: Connection reset by peer]
locutusofborg has joined #yocto
mulk has quit [Ping timeout: 252 seconds]
mulk has joined #yocto
rsalveti has quit [Quit: Connection closed for inactivity]
mulk has quit [Ping timeout: 252 seconds]
mulk has joined #yocto
Chaser has joined #yocto
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chaser has joined #yocto
roussinm has quit [Ping timeout: 252 seconds]
Daanct12 has quit [Ping timeout: 240 seconds]
Daanct12 has joined #yocto
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chaser has joined #yocto
thomas_34 has joined #yocto
jmd has joined #yocto
alessioigor has joined #yocto
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
xmn has quit [Ping timeout: 268 seconds]
leon-anavi has joined #yocto
jmd has quit [Remote host closed the connection]
<merit>
so how does one make a recipe only install files to the sysroot for other recipes to use?
<merit>
(and not to the system)
<thomas_34>
Hi, is it somehow possible to view a complete recipe or machine-configuration with all merged include/required files?
<thomas_34>
Is there a special command for bitbake, or some intermediate file which I can look at it?
<merit>
"bitbake-layers show-recipes" should give you something of what you want
<merit>
I'm not very good with this still, so I can't do better than that, soz
rfuentess has joined #yocto
<thomas_34>
merit, i think that doesnt do what I want to achieve. For example a machine configuration is scattered into 10 different files across 3-4 layers. I just want to see a complete version of it in a single file.
zpfvo has joined #yocto
ray-san has joined #yocto
<yocton>
thomas_34: "bitbake -e <recipe>" will give you the final value of *all* variables/tasks (plus where does it come from)
Daanct12 has quit [Quit: WeeChat 4.2.1]
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Daanct12 has joined #yocto
Chaser has joined #yocto
<thomas_34>
yocton okay. Thanks :)
linfax has joined #yocto
goliath has joined #yocto
davidinux has quit [Read error: Connection reset by peer]
davidinux has joined #yocto
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<LetoThe2nd>
rburton: how do you handle this? or just test against poky?
Vonter has joined #yocto
florian has joined #yocto
davidinux has quit [Read error: Connection reset by peer]
prabhakalad has quit [Remote host closed the connection]
prabhakalad has joined #yocto
olani has quit [Remote host closed the connection]
olani- has quit [Remote host closed the connection]
davidinux has joined #yocto
olani has joined #yocto
florian_kc has joined #yocto
<rburton>
LetoThe2nd: can you share the failed log?
<rburton>
LetoThe2nd: its normally fine with reusing an existing git repo (we've added stuff for CI to cache repos locally so the initial fetch is faster)
<LetoThe2nd>
rburton: yup, I've ripped that right out of meta-arm
<rburton>
i'd start by not using the cached repos thing because it adds more complication to the fetch
<LetoThe2nd>
rburton: yeah technically right but it also speeds up the build nicely
<rburton>
i'd look at /__w/meta-mender-community/meta-mender-community/gh/libretech-cc/openembedded-core and figure out why kas wanted to clone onto it: if its a git repo then it would fetch inside that, not re-clone
<LetoThe2nd>
rburton: by the ordering one would expect openembedded-core to be cloned first, then bitbake into a subdirectory.
<rburton>
oh! kas fetches in parallel
<rburton>
just put bitbake alongside oe-core
<LetoThe2nd>
rburton: alongside?
<rburton>
don't set path: in the bitbake clone
<LetoThe2nd>
rburton: ok but then I need additional magic for it to work, right?
<rburton>
not actually sure how to use oe-core+bitbake with kas. it might probe to find where bitbake actually is.
<LetoThe2nd>
rburton: so you're in the poky camp too?
<rburton>
for ease
<LetoThe2nd>
rburton: might do the same then.
starblue has quit [Ping timeout: 255 seconds]
olani has quit [Remote host closed the connection]
starblue has joined #yocto
olani has joined #yocto
speeder has joined #yocto
aardo has joined #yocto
ardo has quit [Ping timeout: 260 seconds]
zeddii has quit [Ping timeout: 272 seconds]
Saur75 has quit [Quit: Client closed]
zeddii has joined #yocto
Saur75 has joined #yocto
lexano has joined #yocto
dkc has quit [Remote host closed the connection]
dkc has joined #yocto
dmoseley has quit [Ping timeout: 260 seconds]
dgriego has quit [Ping timeout: 260 seconds]
Daanct12 has quit [Quit: WeeChat 4.2.1]
luc4 has joined #yocto
Noor has joined #yocto
<rburton>
RP: so we don't actually do any ptest runs with poky-altcfg
<rburton>
that could be 'interesting'
<ablu>
rburton: I think it is the /var/tmp -> /var/volatile symlink that it does not like here? It gets further if I kill it, but it fails with something else later then...
<rburton>
ablu: yeah that's about as far as i got, ripped out the link so its writing to a real disk not a tmpfs.
<ablu>
rburton: So you are looking at the next failure then? Seems to be "exec-ioschedulingclass-none.service." failing here.
<rburton>
hm i didn't see that. maybe you did get further than me!
<rburton>
feel free to carry on :)
<rburton>
ah hm the meson that installs the tests basically says the install may be broken if it can't use rsync, so maybe add rsync-native to DEPENDS and see if that helps
<rburton>
(or change test/meson.build as it says in the comment)
<ablu>
rburton: How did you link that to the test failure?
<rburton>
i wondered where that service file comes from
<RP>
rburton: we don't, no. It was hard enough to manage ptest runs at all until fairly recently
<rburton>
RP: i'll let my machine do a ptest of at least ptest-fast this afternoon to see if it actually passes
dgriego has joined #yocto
Vonter has quit [Ping timeout: 256 seconds]
<ablu>
rburton: You can add "util-linux-unshare" to that list.
xmn has joined #yocto
* ablu
kicks off another build during lunch
Vonter has joined #yocto
<rburton>
ablu: for testing, install all of util-linux and see what fails then
joekale has joined #yocto
<RP>
rburton: the question is how many different combinations do we want on the AB. Musl would be nice with ptest too
<rburton>
indeed
luc4 has quit [Quit: Konversation terminated!]
<ablu>
rburton: seems to succeed with unshare + ionice (and the /var/tmp hack)
<rburton>
yay
<rburton>
so it doesn't like doing the ioctls on a tmpfs i guess?
<ablu>
Not exactly sure what the problem there was. I think strace showed an ordinary mount syscall failing. So I think it failed while setting up the unpriviledged environment?
<rburton>
systemd will say that /var/tmp should be a real directory and definitely not a link to a tmpfs :)
jatedev has joined #yocto
roussinm has joined #yocto
rsalveti has joined #yocto
<Ad0>
mckoan, still having the keyboard issue . must have to do something with bash vs busybox sh and ssh
linfax has quit [Ping timeout: 272 seconds]
belsirk has joined #yocto
rfuentess has quit [Read error: Connection reset by peer]
belsirk has quit [Remote host closed the connection]
belsirk has joined #yocto
belsirk is now known as rfuentess
Chach_Deenu has joined #yocto
<jdiez>
I'm trying to compile a rust program that depends on a rust library. I have written recipes for both inheriting from `cargo`, and put the library as an `DEPENDS` of the app. The library seems to compile correctly, but I get a "error: no matching package named `jdiez-cargo-lib`" found. It seems it only searches the crates.io index
Noor has quit [Ping timeout: 264 seconds]
Noor has joined #yocto
Chach_Deenu has quit [Ping timeout: 260 seconds]
<jdiez>
also, the library does get deployed to tmp/work/<triple>/<recipe>/recipe-sysroot/usr/lib/rustlib correctly
<jdiez>
perhaps I should specify the dependency in SRC_URI as a `crate://<host?>/
<jdiez>
<libname>/<version>`?
sev99 has quit [Ping timeout: 250 seconds]
<ablu>
jdiez: yes, add it to SRC_URI. Rust builds statically against the version specified in your .lock file. Note that there is cargo-update-recipe-crates.bbclass which helps you to generate the dependency references.
gchamp has quit [Quit: WeeChat 3.8]
<jdiez>
ablu: not sure what I should specify for host, though. `crate://jdiez-cargo-lib/0.1.0` is an invalid reference
<jdiez>
ERROR: jdiez-cargo-app-0.1.0-r0 do_fetch: Bitbake Fetcher Error: ParameterError('Invalid URL: Must be crate://HOST/NAME/VERSION', 'crate://jdiez-cargo-lib/0.1.0')
<jdiez>
(my crate is not published on crates.io or other repository)
Noor has quit [Read error: Connection reset by peer]
<jdiez>
yeah, that looks similar to what `cargo-bitbake` generates
<ablu>
If the crate is not on crates.io it becomes a bit more annoying. It should be doable, but you will likely have to read cargo.bbclass and friends to make sure everything ends up in the right places.
sev99 has joined #yocto
<jdiez>
yeah, so if I understand cargo_common correctly, it redirects the crates.io source mirror with the bitbake mirror, which should use the crates in CARGO_HOME/bitbake. I guess the question is how to make sure my dependency ends up there. Not sure if I should modify the library recipe or the app.
Noor has joined #yocto
Chach_Deenu has quit [Ping timeout: 264 seconds]
<ablu>
I think I had to add some [patch] configs to make this work when I tried this. But for me that was only temporarily since I was able to publish to crates.io later.
<ablu>
It _may_ become easier if you just add your lib as submodule and reference it by path... Otherwise, one could probably extend cargo[-common].bbclass to cover more use-cases.
<jdiez>
thing is that I am trying to build rust libs in the context of a ROS2 workspace, which are dynamically generated via bindgen and such based on many factors, so publishing to crates.io would be somewhat impractical
justache is now known as fotastache
<jdiez>
I'm thinking that a good way would be to deploy the library source to somewhere like /usr/share/src/rs/<rust-library-name>/{Cargo.toml,src/lib.rs} and add /usr/share/src/rs as a mirror to the Cargo config. Not sure if that's an anti-pattern
<tlwoerner>
jonmason: did you say the Pi Store in Cambridge had them in stock? then why ship?
<ablu>
jdiez: The problem is that you still need to overwrite the paths from your Cargo.toml. You can also clone multiple gits as part of your app build. It is mostly a matter of telling cargo where things is. That is doable with generating [patch] configurations, but it is not particulary pretty.
<ablu>
Currently the helper classes only support easy overwriting of crates.io packages.
<marex>
khem: I'll be sending LVGL 9 updates to meta-oe soon-ish
<marex>
khem: I will be dropping most of the LVGL recipes, since the LVGL got reworked considerably, some parts got squashed in, some are incompatible
<RP>
khem: queued
mckoan is now known as mckoan|away
nerdboy_ has joined #yocto
Saur75 has quit [Quit: Client closed]
Saur75 has joined #yocto
speeder has quit [Ping timeout: 268 seconds]
nerdboy has quit [Ping timeout: 264 seconds]
nerdboy_ has quit [Client Quit]
nerdboy has joined #yocto
dmoseley has joined #yocto
florian has quit [Quit: Ex-Chat]
fotastache has left #yocto [bye?]
florian_kc has quit [Ping timeout: 268 seconds]
Noor has quit [Quit: Leaving]
<rburton>
michaelo: so I've written a silly tool (like paul's git-annotate-web or whatever it was called) to review every commit and decide whether it should be in the docs or not. For every commit in master since the last release I've got a list of 133 which should mentioned in the docs somewhere (most in release notes). I guess I should send you this list! How would you like it? Just a list of title/commit SHAs or something else?
florian_kc has joined #yocto
florian_kc has quit [Ping timeout: 256 seconds]
rfs613 has quit [Ping timeout: 240 seconds]
rfs613 has joined #yocto
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #yocto
Saur75 has quit [Quit: Client closed]
Saur75 has joined #yocto
Vonter has quit [Quit: WeeChat 4.2.1]
florian_kc has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
mulk has quit [Ping timeout: 264 seconds]
Haxxa has joined #yocto
mulk has joined #yocto
jmd has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
yannd has joined #yocto
simonew has joined #yocto
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enok71 has joined #yocto
vladest has quit [Remote host closed the connection]
<enok71>
Can someone help me understand how to add overlays to a fitimage and make u-boot actually apply them at boot?
Saur75 has quit [Quit: Client closed]
johnmcnuggets has joined #yocto
johnmcnuggets has quit [Read error: Connection reset by peer]
Saur75 has joined #yocto
johnmcnuggets has joined #yocto
<dvergatal>
does overrides in OVERRIDES are being choosen by some priority?
alessioigor has quit [Quit: alessioigor]
vladest has joined #yocto
zpfvo has quit [Remote host closed the connection]
Saur75 has quit [Quit: Client closed]
Saur75 has joined #yocto
joekale has quit [Ping timeout: 246 seconds]
pedrowiski__ is now known as pedrowiski
nerdboy has quit [Ping timeout: 260 seconds]
simonew has quit [Ping timeout: 260 seconds]
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
mvlad has quit [Remote host closed the connection]
johnmcnuggets has quit [Remote host closed the connection]
<merit>
still kinda stuck - how does one install only to the buildroot and not the final system image?
<merit>
I mean, sysroot
<neverpanic>
just don't install the package in your image?
goliath has joined #yocto
<neverpanic>
Anything you have in DEPENDS of some recipe that gets built will be in that recipe's sysroot. Only packages you add to your image and their dependent packages end up in the image.
<merit>
ha
<merit>
okay
Kubu_work has quit [Quit: Leaving.]
enok71 has quit [Quit: enok71]
enok71 has joined #yocto
<merit>
and once something is in the SYSROOT, what do I do to use it as a patchfile - just add to "SRC_URI"?
<rburton>
patches are usually alongside the recipe, you want to apply a patch that another recipe has dropped into the sysroot?
<merit>
I want to checkout a git repo full of patch files and apply a folder-full of patches to each of a number of recipes
<merit>
I'm trying to do it with a recipe that grabs the patches and an append for each of those other recipes to patch them
<merit>
so I was "installing" the patches in the recipe I wrote and then trying to add the patches in ".bbappend" for stuff like the kernel
<rburton>
wow, that's special, I dread to think what you're packaging that involves a git repo of patches
<vmeson>
+100%
<rburton>
i'd probably have a class that added that patches repo to SRC_URI instead, and then does something similar to the class above to apply the right patches
<vmeson>
merit: it might be better if you told us what all these patches are doing and why you can't just send them upstream
<merit>
the vocabulary words all parsed, but I can't understand how the verbs work
<merit>
they're support for NDA-only hardware
<merit>
lol
<merit>
kernel patches, etc
* vmeson
throws up a little.
<merit>
at least I know I'm not insane to feel insane after a week or so of this
<merit>
rburton: what do you mean by a class that patches "SRC_URI" and how does that differ from patching it in the bbappend file directly?