]> code.ossystems Code Review - openembedded-core.git/commit
rm_work: Stop appending _setscene to do_image_complete_setscene stamps
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jun 2018 10:12:23 +0000 (11:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jun 2018 12:23:10 +0000 (13:23 +0100)
commit0f4e734e0ef40076351ed7ff795aac36197e4949
tree257defa40efadf19ef44db4a865818cce4c4958c
parent7bedc857ceb3f8c3126233291f5338588127418a
rm_work: Stop appending _setscene to do_image_complete_setscene stamps

This is a reworked version of the issue which 5479654eeaaa0f81bfff54ca49369c87f1658705
attempted to fix.

"""
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.
"""

Instead of the original approach which broke do_package_setscene, add
an entry to explictly stop the stacking _setscene pieces on do_image_complete.

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: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rm_work.bbclass