]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: include PE in KERNEL_IMAGE_BASE_NAME
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 22 Sep 2012 12:03:03 +0000 (14:03 +0200)
committerSaul Wold <sgw@linux.intel.com>
Sat, 5 Jan 2013 06:12:04 +0000 (22:12 -0800)
* without this you it's harder to see which kernel is newer version
  e.g. after branch change LOCALCOUNT in SRCPV is reset to 0, so it needs PE bump for upgrade path
  but then it's clear why gitr1+HASH has newer DATETIME then gitrN+HASH, so include PE in name
* it will sort alphabetically wrong in deploy dir for a while until old images are removed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel.bbclass

index aee8a77a9e22dfbdffca5cf9325271058086b4fd..96b23bc3403d18a2ef99c041335a9ef2a7fd1fdb 100644 (file)
@@ -493,7 +493,7 @@ do_sizecheck() {
 
 addtask sizecheck before do_install after do_compile
 
-KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}"
+KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PE}-${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}"