diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-01 17:44:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-04 16:27:25 +0100 |
commit | b8c5b2bfd530735a0fab8ce4f0d0e9f76496f3cb (patch) | |
tree | a3c2047fb08c4c0ec710e5d91a28c8509d5af119 /scripts/task-time | |
parent | 9f99474fa313cc42768fe1ffeed387e6d649fc62 (diff) | |
download | poky-b8c5b2bfd530735a0fab8ce4f0d0e9f76496f3cb.tar.gz |
devtool/upgrade: correctly clean up when recipe filename isn't yet known
There is a coding error in the second invocation of _upgrade_error:
rf is passed into it before it is initialized in the try: block. And so
bogus recipes are left behind in the workspace, causing breakage.
Instead, rewrite the functions to take the recipe directory name in the
workspace layer, which can be calculated in advance.
(From OE-Core rev: e653996369c1d2b5ac8367ad85f4816d679b6c98)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/task-time')
0 files changed, 0 insertions, 0 deletions