summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-09-22 14:03:03 +0200
committerSaul Wold <sgw@linux.intel.com>2013-01-04 22:12:04 -0800
commit3b5fe6d2cd58b5db70c3d319ffc66b1cbff1f43a (patch)
tree4a33870573d537a67e80b1c07b3a413b5a792876
parent625c93784940c0dcda4570258acf2183af7ec5f8 (diff)
downloadopenembedded-core-3b5fe6d2cd58b5db70c3d319ffc66b1cbff1f43a.tar.gz
openembedded-core-3b5fe6d2cd58b5db70c3d319ffc66b1cbff1f43a.tar.bz2
openembedded-core-3b5fe6d2cd58b5db70c3d319ffc66b1cbff1f43a.zip
kernel.bbclass: include PE in KERNEL_IMAGE_BASE_NAME
* 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>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index aee8a77a9e..96b23bc340 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -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}"