]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Set vardepsexclusive for KERNEL_IMAGE_BASE_NAME
authorKevin Tian <kevin.tian@intel.com>
Thu, 16 Dec 2010 08:56:15 +0000 (16:56 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 16 Dec 2010 15:37:40 +0000 (15:37 +0000)
Exclude the DATETIME variable from the KERNEL_IMAGE_BASE_NAME variable.

This avoids the last road block linux-yocto for sstate.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 341809a7d7b9617c2c5d2e4088ca098226db751b..b2f8132abff6a1181304fcdc4bb7f82ce92c453f 100644 (file)
@@ -472,6 +472,8 @@ do_sizecheck() {
 addtask sizecheck before do_install after do_compile
 
 KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}"
+# Don't include the DATETIME variable in the sstate package signatures
+KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
 KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}"
 
 kernel_do_deploy() {