summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-mx31.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-19 10:22:01 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-19 10:22:01 +0000
commitf3b960b426eb5ac859f18c164283f2220234f13e (patch)
tree310c8669ba138bfa20ae3311d8b8df27482c2474 /meta/packages/linux/linux-mx31.inc
parent411cbb402093bd5554cfd3948012c371cc17843a (diff)
downloadopenembedded-core-f3b960b426eb5ac859f18c164283f2220234f13e.tar.gz
openembedded-core-f3b960b426eb5ac859f18c164283f2220234f13e.tar.bz2
openembedded-core-f3b960b426eb5ac859f18c164283f2220234f13e.zip
linux: Make kernel symlinks relative so they can be copied/moved and still work
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2908 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-mx31.inc')
-rw-r--r--meta/packages/linux/linux-mx31.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/linux/linux-mx31.inc b/meta/packages/linux/linux-mx31.inc
index a912b038e5..1bec2535db 100644
--- a/meta/packages/linux/linux-mx31.inc
+++ b/meta/packages/linux/linux-mx31.inc
@@ -31,8 +31,8 @@ do_configure_prepend() {
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
- rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin
- ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin
+ cd ${DEPLOY_DIR_IMAGE}
+ ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
}