summaryrefslogtreecommitdiff
path: root/packages/linux/linux.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-10-09 14:14:22 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-10-09 14:14:22 +0000
commit8c092e5b6ecc1d32fda067d5cea3b1e23310f94f (patch)
treeae025809da467d663c7e1134b45c12793ce7dfc6 /packages/linux/linux.inc
parent8509e92c44e3df14f799c38a0501f4127ab6e503 (diff)
linux: provide symlink to lastest kernel image built
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r--packages/linux/linux.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index ecb45661ed..2c267fb7eb 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -111,6 +111,7 @@ do_install_prepend() {
UBOOT_ENTRYPOINT ?= "20008000"
KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}"
+KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}"
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
@@ -130,6 +131,10 @@ do_deploy() {
rm -f linux.bin.gz
fi
fi
+
+ cd ${DEPLOY_DIR_IMAGE}
+ rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin
+ ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin
}
do_deploy[dirs] = "${S}"