[oe-commits] [openembedded-core] 03/15: kernel: fitimage: Fix do_deploy taskhash mismatch

git at git.openembedded.org git at git.openembedded.org
Mon Apr 18 15:28:50 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit 42ed25f693a4898f517c9ffc7920e5d994ac692d
Author: Marek Vasut <marex at denx.de>
AuthorDate: Fri Apr 15 12:19:46 2016 +0200

    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 at denx.de>
    Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/kernel-fitimage.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index f1b409c..e5b75ed 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -215,6 +215,7 @@ do_assemble_fitimage() {
 
 addtask assemble_fitimage before do_install after do_compile
 
+kernel_do_deploy[vardepsexclude] = "DATETIME"
 kernel_do_deploy_append() {
 	# Update deploy directory
 	if test "x${KERNEL_IMAGETYPE}" = "xfitImage" ; then

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list