All of lore.kernel.org
 help / color / mirror / Atom feed
* esdk devtool finish workflow
@ 2024-09-06 10:37 Radoslav Pesek
  2024-09-06 10:49 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 11+ messages in thread
From: Radoslav Pesek @ 2024-09-06 10:37 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2546 bytes --]

Hello,

I'm trying to do the following (after generating and installing my esdk and sourcing the environment script):
* devtool modify recipe
* do some coding and testing
* devtool finish recipe meta-custom -m srcrev

I want just to update SRCREV of the recipe, *not* to create source code patches (that's why i use -m srcrev) and *not* to create bbappend for the recipe, but:
* if meta-custom is a layer under the esdk (esdk/layers/meta-custom), the issue is, it isn't git repo separate from the other layers under esdk/layers (because whole esdk/layers directory is one git repo), so when i commit the changes made by devtool finish (updated SRCREV), i don't make the commit in the original git commit history and am not sure how now to push the changes to the git server
* if meta-custom is git repo somewhere else on the my machine, cloned from the original git repo, devtool finish doesn't just update the recipe (with changed SRCREV), but creates an bbappend, which i don't like cause updating recipe seems to me to be cleaner then having recipe and bbappend

So i'm not sure, how to accomplish this. Maybe i'm just missing something or don't use esdk/devtool as it's intended. So, could somebody, please, explain to me the intended workflow or why what i'm trying to do isn't possible (or how, if it is)? Cause what documentation/howtos regarding devtool finish i came across, either didn't use it within esdk or didn't use the workflow i'm trying to use. I also tried to search some explanation why sdk/layers is one git repo (instead of having the layers under esdk/layers cloned as separate git repos - as it actually works when you use devtool under yocto build system) or why devtool finish does create bbappend (and doesn't simply update the recipe) when the layer you want to update isn't the original layer, where the recipe comes from (which i guess, within esdk, it's esdk/layers/meta-custom in my case) as for example mentioned here: https://www.openembedded.org/pipermail/openembedded-core/2016-July/123873.html, but to no avail.

I didn't try it yet, but the only thing that could probably help is adding my layer (cloned somewhere on my machine) to the esdk's bblayers.conf, but then, i would have the layer twice in the bblayers.conf (the one that was installed with the esdk and the one added manually), or even try to remove the one that was installed with esdk, which i'm not sure whether it would work.

Currently i'm on scarthgap, if that makes any difference.

Thank you for any clarification, Rado.

[-- Attachment #2: Type: text/html, Size: 2829 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-09-30 12:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 10:37 esdk devtool finish workflow Radoslav Pesek
2024-09-06 10:49 ` [yocto] " Alexander Kanavin
2024-09-06 13:54   ` Radoslav Pesek
2024-09-07 10:41     ` Alexander Kanavin
2024-09-08 13:24       ` Adrian Freihofer
2024-09-08 13:46         ` Alexander Kanavin
2024-09-08 16:49           ` Adrian Freihofer
2024-09-09 14:24             ` Radoslav Pesek
2024-09-10  9:44               ` Alexander Kanavin
2024-09-30 12:33                 ` Radoslav Pesek
2024-09-30 12:53                   ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.