summaryrefslogtreecommitdiffstats
path: root/meta/classes/rm_work.bbclass
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-21 09:34:40 +0100
commit80443c42fde3ff40f60dc96f3d6ac54c145d4f59 (patch)
treec6916d513400b02fe23ba139455d94c617d684ec /meta/classes/rm_work.bbclass
parent2869b56efa53d144f4641b06e9780206c7100567 (diff)
downloadpoky-80443c42fde3ff40f60dc96f3d6ac54c145d4f59.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*. (From OE-Core rev: 0f4e734e0ef40076351ed7ff795aac36197e4949) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-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 () {
61 i=dummy 61 i=dummy
62 break 62 break
63 ;; 63 ;;
64 *do_image_complete_setscene*)
65 i=dummy
66 break
67 ;;
64 *do_image_complete*) 68 *do_image_complete*)
65 mv $i `echo $i | sed -e "s#do_image_complete#do_image_complete_setscene#"` 69 mv $i `echo $i | sed -e "s#do_image_complete#do_image_complete_setscene#"`
66 i=dummy 70 i=dummy