[poky] [PATCH 1/1] rm_work.bbclass: reserve 'image' folder when remove WORKDIR

Koen Kooi koen at dominion.thruhere.net
Wed Jan 26 00:23:48 PST 2011


Op 26 jan 2011, om 07:30 heeft poky-bounces at yoctoproject.org het volgende geschreven:

> From: Dongxiao Xu <dongxiao.xu at intel.com>
> 
> After the implementation of per machine sysroot, do_populate_sysroot
> and do_package need to be re-run if we build two machines of one
> architecture (in case that sstate prebuilt result could not be reused
> for certain recipes). But if removing all the WORKDIR contents after
> the first macine build, the second machine's do_populate_sysroot and
> do_package will fail due to the missing of "image" directory.
> 
> Thus reserve 'image' folder when doing rm_work.

Wouldn't adding do_install to sstate be a better idea? OE was designed that it wouldn't depend on WORKDIR after building, so this patch is a step in the wrong direction.

regards,

Koen


More information about the poky mailing list