]> code.ossystems Code Review - openembedded-core.git/commit
rm_work: Stop appending _setscene to do_image_complete_setscene stamps
authorMike Crowe <mac@mcrowe.com>
Wed, 9 May 2018 11:02:35 +0000 (12:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 May 2018 06:49:32 +0000 (07:49 +0100)
commitf04e6bd144deb0c8fe2742f66b18904b6619a502
tree322c8f94c1c348125d2dd7f561b8ab24841bea1e
parent3eca7aa8196ef8ed682659ff47f3f1e3b2c6867d
rm_work: Stop appending _setscene to do_image_complete_setscene stamps

Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.

It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.

So, let's ensure that the *_setscene* pattern is matched before anything
else so that any do_image_complete_setscene stamp file is always ignored
and the do_image_complete non-setscene stamp file is moved only once.

It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rm_work.bbclass