summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-19 11:12:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-19 13:23:10 +0100
commit0f4e734e0ef40076351ed7ff795aac36197e4949 (patch)
tree257defa40efadf19ef44db4a865818cce4c4958c /meta/classes
parent7bedc857ceb3f8c3126233291f5338588127418a (diff)
downloadopenembedded-core-0f4e734e0ef40076351ed7ff795aac36197e4949.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rm_work.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 31d99e4554..07e63c31ad 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -61,6 +61,10 @@ do_rm_work () {
i=dummy
break
;;
+ *do_image_complete_setscene*)
+ i=dummy
+ break
+ ;;
*do_image_complete*)
mv $i `echo $i | sed -e "s#do_image_complete#do_image_complete_setscene#"`
i=dummy