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.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63793): https://lists.yoctoproject.org/g/yocto/message/63793
Mute This Topic: https://lists.yoctoproject.org/mt/108301955/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to