]> code.ossystems Code Review - openembedded-core.git/commit
kernel: fitimage: Fix do_deploy taskhash mismatch
authorMarek Vasut <marex@denx.de>
Fri, 15 Apr 2016 10:19:46 +0000 (12:19 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Apr 2016 15:27:44 +0000 (16:27 +0100)
commit42ed25f693a4898f517c9ffc7920e5d994ac692d
tree99cd7ea1e59837ca8586e123f225f95aca49afeb
parent3ee82430f3f3eb62cbc949658808d109222e8b24
kernel: fitimage: Fix do_deploy taskhash mismatch

The kernel_do_deploy_append() uses DATETIME variable , so the taskhash
of the kernel_do_deploy() function changes if fitImage is used. The
buildsystem will complain accordingly:

ERROR: linux-yocto-4.4.3+gitAUTOINC+bcc6509084_1a72cec834-r0 do_deploy: Taskhash mismatch 49a5899a6895dcebd311dcb59870f370 verses 37c8dd3aae44134492a876f21c1b641b for /Yocto/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_deploy
ERROR: Taskhash mismatch 49a5899a6895dcebd311dcb59870f370 verses 37c8dd3aae44134492a876f21c1b641b for /Yocto/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_deploy

Fix this by excluding the DATETIME variable from the checksum.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-fitimage.bbclass