summaryrefslogtreecommitdiff
path: root/lib/recipetool/__init__.py
AgeCommit message (Collapse)Author
2020-09-16recipetool: add updatesrcrev sub-commandStefan Agner
Use the recipetool plugin mechanism to add a updatesrcrev command. This allows to update the SRCREV variable to point to the current git hash the references git branch is pointing to. A OpenEmbedded build environment needs to be initialized. Then use the following command to update SRCREV of a particular recipe: recipetool updatesrcrev <path-to-recipe> Related-to: AUT-354 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit f80b1846113635ec84177f0020efab02f6679d1a)