<JM12>
anyone knows which task normally creates the DEPLOY_DIR_IMAGE directory when building an image?
JM12 has quit [Quit: Client closed]
<LetoThe2nd>
yo dudX
JM12 has joined #yocto
<LetoThe2nd>
JM12: if i had to guess, then do_deploy_setscene in deploy.bbclass.
manuel1985 has quit [Ping timeout: 268 seconds]
<JM12>
LetoThe2nd okay I'll take a look at that thanks
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
amitk_ has joined #yocto
<RP>
JM12: probably do_image_complete from the image/rootfs bbclass
<JM12>
RP the thing is cve_check_rootfs_manifest from cve-check.bb is in ROOTFS_POSTPROCESS_COMMAND which would run before do_image_complete as far as I am aware
<JM12>
cve_check_rootfs_manifest does however write to this directory
manuel1985 has joined #yocto
Bardon has quit [Ping timeout: 272 seconds]
<RP>
JM12: it shouldn't, it should write to the sstate-input directory
<JaMa>
2022-11-03 14:11 < zeddii> JaMa: it's a hacky python script that I have. Get me about 90% of the way to a recipe, and then I have to debug all the corner cases manually.
<JaMa>
it might still cover some corner cases which the recipetool changes don't support yet
<RP>
Asking chatGPT "How do I speed up bitbake's parsing performance?" was entertaining. Apparently I can use "bitbake -s" to only run specific tasks :)
ptsneves has quit [Ping timeout: 248 seconds]
prabhakarlad has joined #yocto
<JaMa>
couple months ago I've ask a colleague to look at the proposed recipetool changes and recently he replied that he is writing another python script from scratch, so now I'm more motivated to get some usable solution merged in master before more people reinvent more wheels
<RP>
JaMa: that would be nice
<JaMa>
RP: it would be even more scary if it provides some simple solution nobody including you haven't found yet :)
<RP>
even if it doesn't cover all the cases, lets get something basic in
<LetoThe2nd>
RP: as you worded it. scary, wrong, but so close to being right.
<RP>
LetoThe2nd: it gets so close but misses some key detail
<JaMa>
is that exact section from some documentation of did it really figure it out itself?
<RP>
JaMa: I was trying to work out where it is getting data from, it seems to be really searching
<RP>
JaMa: I suspect the code and code comments help it, so for example it was telling be to use BB_CACHE in my local.conf
<RP>
BB_CACHE is talked about in the bitbake code but I'm not aware of anyone ever playing with it
<JaMa>
yeah, I was just looking at google results for the same query and chatGPT won by far in this case
<RP>
well, not in recent years
<JaMa>
anyone time for lunch and kids are awaiting "santa", Happy Holidays everyone
goliath has joined #yocto
alessioigor has quit [Quit: alessioigor]
florian has quit [Quit: Ex-Chat]
<RP>
JaMa: happy holidays!
Bardon has joined #yocto
invalidopcode has quit [Remote host closed the connection]
invalidopcode has joined #yocto
<zeddii>
JaMa: I worked on a README a month or so ago, let me open up the repo and point you at it. There's both special command line overrides, and I have to generate the dependencies outside of go.mod
<zeddii>
I don't know how the k3s repo does it, but neither go.mod or go.sum have everything that I need to fetch all dependenices
<zeddii>
so I generate a full list of dependencies ahead of time (using go itself) and process it with my script.