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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 May 2013 15:19:20 +0000 (16:19 +0100)
commit33edeec4537db989ecc21b36b85f80008f840d85
tree9ef4e09f50e150689e2443141aa9fc157b8e150c
parent5921d422e35365160359d89fa5c1c710c5cc2239
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 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