Patchwork build-appliance: ensure zip file is linked locally

login
register
mail settings
Submitter Saul Wold
Date Oct. 11, 2012, 6:41 p.m.
Message ID <1349980865-30301-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/38099/
State Accepted
Commit 0fc83102eeb48b85027c5b1202d8a584f51679a7
Headers show

Comments

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

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() {