Skip to contentSkip to conversation

build-appliance: ensure zip file is linked locally

PATCH New Saul Wold 1 participant 1 message Oct 11, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 build-appliance: ensure zip file is linked locally

This makes the symbolic link portable with the dated zip file, otherwise the link still points to the original deploy directory.

---
 meta/recipes-core/images/build-appliance-image.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/images/build-appliance-image.bb +1 -1
index 49e250d..59ccb98 100644
@@ -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() {
Signature · 1 line
1.7.7.6