]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: fix update-recipe dry-run mode
authorJulien Stephan <jstephan@baylibre.com>
Wed, 22 Nov 2023 11:08:13 +0000 (12:08 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 28 Dec 2023 14:43:58 +0000 (04:43 -1000)
commitedfa2aac5c39e12e1149134a6241ad4e5b2ebc46
tree33805b63e2099fedfa5ff5eb830a81b387101992
parentd114814fa2628cfea2769d65a26514b76e61a0fa
devtool: fix update-recipe dry-run mode

When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 85ba125703d5b442133fd7c470b915460ee68ac9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/devtool/standard.py