summaryrefslogtreecommitdiffstats
path: root/meta/classes
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 /meta/classes
parent44856a298c538382c0bb6fadad5f863625ad07b1 (diff)
downloadpoky-c09b109c6daacc4c689f9d9ce756d43db80a8e84.tar.gz
image.bbclass: Make relative symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1222 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-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 () {
66 bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}" 66 bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
67 fi 67 fi
68 68
69 cd ${DEPLOY_DIR_IMAGE}/
69 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.* 70 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*
70 ln -s ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type 71 ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
71 done 72 done
72 73
73 ${IMAGE_POSTPROCESS_COMMAND} 74 ${IMAGE_POSTPROCESS_COMMAND}