summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-30 14:45:48 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-30 14:45:48 +0000
commitc09b109c6daacc4c689f9d9ce756d43db80a8e84 (patch)
tree25cecad733ed6493896c7761b6fb61f1dfb18d05
parent44856a298c538382c0bb6fadad5f863625ad07b1 (diff)
downloadopenembedded-core-c09b109c6daacc4c689f9d9ce756d43db80a8e84.tar.gz
openembedded-core-c09b109c6daacc4c689f9d9ce756d43db80a8e84.tar.bz2
openembedded-core-c09b109c6daacc4c689f9d9ce756d43db80a8e84.zip
image.bbclass: Make relative symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1222 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/image.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f9e7fca3ae..2d0747e3a2 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -66,8 +66,9 @@ fakeroot do_rootfs () {
bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
fi
+ cd ${DEPLOY_DIR_IMAGE}/
rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*
- ln -s ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
+ ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
done
${IMAGE_POSTPROCESS_COMMAND}