diff options
author | Ross Burton <ross.burton@arm.com> | 2023-01-03 17:47:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
commit | de5aac2a0b9dd0656669d110cef47f2366c8043d (patch) | |
tree | beaecb2c78d938a8fc5579cdb6ba5247bfcaf813 /meta/recipes-devtools/rust | |
parent | eb2a1c7830943d752c8468fa431037386efbe13a (diff) | |
download | poky-de5aac2a0b9dd0656669d110cef47f2366c8043d.tar.gz |
rm_work: handle non-existant stamps directory
Since 'build/siggen: Rework stamps functions'[1] the stamps directory
for each recipe is only created if there are stamps to be written. Some
recipes - such as package-index - only have nostamp tasks so the stamps
directory is never created, resulting in the rm_work task trying to cd
into a directory that doesn't exist.
Resolve this by simply checking the stamps directory exists before
trying to delete files in it.
[1] bitbake c79ecec580e4c2a141ae483ec0f6448f70593dcf
(From OE-Core rev: 80e9b32a000b25420997068543d3631231eb3ccf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
0 files changed, 0 insertions, 0 deletions