Re: [OE-core] [PATCH] image.bbclass: exclude deploy-${PN}-image-complete from rm_work

2019-08-04 Thread Ming Liu
Hi, Richard: This is to handle the case IMAGE_CMD_yyy depending on IMAGE_CMD_xxx, while IMAGE_CMD_yyy need access the result generated by IMAGE_CMD_xxx in ${IMGDEPLOYDIR}, and IMAGE_CMD_yyy itself wanna generate a result in ${IMGDEPLOYDIR} as well, to be able to be covered by sstate. In this

Re: [OE-core] [PATCH] image.bbclass: exclude deploy-${PN}-image-complete from rm_work

2019-08-02 Thread Richard Purdie
On Fri, 2019-08-02 at 17:12 +0800, liu.min...@gmail.com wrote: > From: Ming Liu > > The results in ${IMGDEPLOYDIR} generated by a image task could be > used by later image tasks. No they shouldn't. > , hence they should be excluded by rm_work. Or else when a image task > gets rerun but one of

[OE-core] [PATCH] image.bbclass: exclude deploy-${PN}-image-complete from rm_work

2019-08-02 Thread liu . ming50
From: Ming Liu The results in ${IMGDEPLOYDIR} generated by a image task could be used by later image tasks, hence they should be excluded by rm_work. Or else when a image task gets rerun but one of its dependent image task does not, then the results generated by this dependent image task would