]> code.ossystems Code Review - openembedded-core.git/commit
archive-*-source.bbclass: have do_dumpdata_create_diff_gz task run before do_rootfs
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 3 May 2013 09:01:04 +0000 (12:01 +0300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 May 2013 15:06:14 +0000 (16:06 +0100)
commitc283ab637c7e0501a309dbe9abdf14ad70834c9b
tree60abaf68a4a04dde3ff5b228795b58b5d145438d
parent54a7691a3efce3d7a154233345b5f6b161fd71bf
archive-*-source.bbclass: have do_dumpdata_create_diff_gz task run before do_rootfs

do_rootfs[cleandirs] contains ${S} and, if do_rootfs task starts before
the do_dumpdata_create_diff_gz is finished, an error will occur in the
process because the directory will be removed while still needed by the
create_diff_gz() function.

This patch will force the do_dumpdata_create_diff_gz task to run before
do_rootfs when the final image is created.

[YOCTO #4310]

(From OE-Core master rev: cd90be31571178d6822dba5a94a2795209a3576c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archive-configured-source.bbclass
meta/classes/archive-original-source.bbclass
meta/classes/archive-patched-source.bbclass