summaryrefslogtreecommitdiffstats
path: root/meta/classes/archive-original-source.bbclass
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-05-03 12:01:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-03 16:15:09 +0100
commitcd90be31571178d6822dba5a94a2795209a3576c (patch)
tree4f868eadf0649dffb93cf65989d985de44390606 /meta/classes/archive-original-source.bbclass
parentdc2de313febfc817640e4e55c75d0cb21c70c0ba (diff)
downloadopenembedded-core-contrib-cd90be31571178d6822dba5a94a2795209a3576c.tar.gz
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archive-original-source.bbclass')
-rw-r--r--meta/classes/archive-original-source.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/archive-original-source.bbclass b/meta/classes/archive-original-source.bbclass
index 7258293c93..2796ff9600 100644
--- a/meta/classes/archive-original-source.bbclass
+++ b/meta/classes/archive-original-source.bbclass
@@ -14,7 +14,7 @@ addtask do_archive_original_sources_patches after do_unpack
addtask do_archive_scripts_logs
# Get dump date and create diff file
-addtask do_dumpdata_create_diff_gz
+addtask do_dumpdata_create_diff_gz before do_rootfs
python () {
pn = d.getVar('PN', True)