Switching a recipe between git head and git tag (for a release)

Martin Hollingsworth

Hello community,

I am looking for a best practice / a simple solution for switching the SRCREV in a bitbake recipe between git master HEAD (default, used in nightly builds) and a tagged release version (needed for a reproducible release config).


How can I minimize the amount of changes necessary to the recipe when switching to a release version?


Thanks and regards,


Join yocto@lists.yoctoproject.org to automatically receive all group messages.