build-appliance: ensure zip file is linked locally

Submitted by Saul Wold on Oct. 11, 2012, 6:41 p.m.

Details

Message ID 1349980865-30301-1-git-send-email-sgw@linux.intel.com
State Accepted
Commit ef9eac29a5fdd612fb663419c039381182af9ee2
Headers show

Commit Message

Saul Wold Oct. 11, 2012, 6:41 p.m.
This makes the symbolic link portable with the dated zip file, otherwise
the link still points to the original deploy directory.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/images/build-appliance-image.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb
index 49e250d..59ccb98 100644
--- a/meta/recipes-core/images/build-appliance-image.bb
+++ b/meta/recipes-core/images/build-appliance-image.bb
@@ -80,7 +80,7 @@  create_bundle_files () {
 	cp *.vmx* Yocto_Build_Appliance
 	ln -sf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk Yocto_Build_Appliance/Yocto_Build_Appliance.vmdk
 	zip -r ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance-${DATETIME}.zip Yocto_Build_Appliance
-	ln -sf ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance-${DATETIME}.zip ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance.zip 
+	ln -sf Yocto_Build_Appliance-${DATETIME}.zip ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance.zip 
 }
 
 python do_bundle_files() {