[oe-commits] Christopher Larson : kernel.bbclass: add deploy link to KERNEL_IMAGETYPE

git at git.openembedded.org git at git.openembedded.org
Wed Jul 18 07:26:50 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: c1952180fe80b5769d12f8247ab3d652d2d5c053
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c1952180fe80b5769d12f8247ab3d652d2d5c053

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Tue Jul 17 12:37:59 2012 +0000

kernel.bbclass: add deploy link to KERNEL_IMAGETYPE

It's common to provide a non-machine-suffixed link in DEPLOY_DIR_IMAGE, so
let's be consistent and do so here as well.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/classes/kernel.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 433dd30..248cd28 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -541,6 +541,7 @@ kernel_do_deploy() {
 	cd ${DEPLOYDIR}
 	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}
 
 	cp ${COREBASE}/meta/files/deploydir_readme.txt ${DEPLOYDIR}/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
 }





More information about the Openembedded-commits mailing list