summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-27 15:20:41 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-27 15:20:41 +0000
commita489c95baf2a8e59c951b83123af0bc9f5b8cc3a (patch)
treecc811db38ef2d28525057986b4c8a6e0f567fc19 /meta
parente010532f60e5f03887366cf93fb57fdaf89bc757 (diff)
downloadopenembedded-core-a489c95baf2a8e59c951b83123af0bc9f5b8cc3a.tar.gz
openembedded-core-a489c95baf2a8e59c951b83123af0bc9f5b8cc3a.tar.bz2
openembedded-core-a489c95baf2a8e59c951b83123af0bc9f5b8cc3a.zip
linux-rp.inc: Create relative symlinks rather than absolute ones
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1781 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/linux/linux-rp.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index 570ed0e046..1f48f2d8ac 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -192,7 +192,8 @@ 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 -s ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
}