Apologies but I have to say no. Updating these three variables from a
toggle quoted messageShow quoted text
bbappend is not a good idea and I strongly recommend that you do not
do it. If you need a different version of something, write a proper,
separate recipe for it.
On Thu, 24 Feb 2022 at 08:27, <ksmanjunath681@...> wrote:
I looked into the various options provided by devtool upgrade/devtool finish.
Unfortunately, it doesn't have the required options to update .bbappend files.
Below is a brief on my problem.
devtool upgrade doesn't consider updating .bbappend files of the recipe if they have overridden SRC related information.
For example, I have a .bbappend file in my custom layer that has overridden SRC_URI, SRCBRANCH & SRCREV information for a recipe in poky.
When I tried to update the recipe with latest SRCREV using below command:
devtool upgrade -S <latest_commit_revision> <recipename>
The devtool upgrade by default updates the original recipe (.bb) in poky but not the .bbappend file in my custom layer.
I briefly looked into the devtool upgrade sources to confirm this behavior as well.
Is this an expected behavior?
There could be cases where the .bbappend files might override the SRC related information and we expect the devtool to upgrade the respective .bbappend file?