Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: include PE in KERNEL_IMAGE_BASE_NAME
@ 2012-09-22 12:46 Martin Jansa
  2012-11-26 12:37 ` [PATCH] kernel.bbclass: use the same versioning schema for modules.tgz and provide link to latest Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-09-22 12:46 UTC (permalink / raw)
  To: openembedded-core

* 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
* using PE not EXTENDPE to sort it correctly even for PE == 1
* 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>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index fdef1be..e2e365f 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -490,7 +490,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}"
-- 
1.7.12




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-26 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22 12:46 [PATCH] kernel.bbclass: include PE in KERNEL_IMAGE_BASE_NAME Martin Jansa
2012-11-26 12:37 ` [PATCH] kernel.bbclass: use the same versioning schema for modules.tgz and provide link to latest Martin Jansa
2012-11-26 13:49   ` Bruce Ashfield
2012-11-26 13:57     ` Martin Jansa
2012-11-26 15:01       ` Phil Blundell
2012-11-26 18:18         ` Martin Jansa
2012-11-26 18:49       ` Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox