Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: update image name to keep it same in D and DEPLOYDIR
@ 2012-07-12  9:17 b28495
  2012-07-12  9:17 ` [PATCH] linux-dtb.inc: update dtb " b28495
  2012-07-12 11:02 ` [PATCH] kernel.bbclass: update image " Richard Purdie
  0 siblings, 2 replies; 10+ messages in thread
From: b28495 @ 2012-07-12  9:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: b29882

From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 meta/classes/kernel.bbclass |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 81c334b..420a1ec 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -122,7 +122,12 @@ kernel_do_install() {
 	#
 	install -d ${D}/${KERNEL_IMAGEDEST}
 	install -d ${D}/boot
-	install -m 0644 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
+        install -m 0644 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGE_BASE_NAME}.bin
+        cd ${D}/${KERNEL_IMAGEDEST}/
+        rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin
+        ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin
+        ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGETYPE}
+	cd -
 	install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION}
 	install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION}
 	install -m 0644 vmlinux ${D}/boot/vmlinux-${KERNEL_VERSION}
-- 
1.7.3.4





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

end of thread, other threads:[~2012-07-17  9:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12  9:17 [PATCH] kernel.bbclass: update image name to keep it same in D and DEPLOYDIR b28495
2012-07-12  9:17 ` [PATCH] linux-dtb.inc: update dtb " b28495
2012-07-12 11:03   ` Richard Purdie
2012-07-15 11:07     ` Liu Ting-B28495
2012-07-16 22:23       ` McClintock Matthew-B29882
2012-07-12 11:02 ` [PATCH] kernel.bbclass: update image " Richard Purdie
2012-07-15 11:18   ` Liu Ting-B28495
2012-07-15 16:02     ` Khem Raj
2012-07-17  8:30       ` Liu Ting-B28495
2012-07-16 22:20     ` McClintock Matthew-B29882

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