Skip to contentSkip to conversation

build-appliance-image: Create image in correct location

PATCH Superseded Juro Bystricky 1 participant 1 message Sep 14, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-appliance-image: Create image in correct location

Due to the variable IMGDEPLOYDIR being recently re-defined, the Build Appliance image ended up being created in a wrong location.

This patch assures the final ZIP image is created in identical location as before:

tmp/deploy/images/<machine>/Yocto_Build_Apliance.zip

[YOCTO#10274]

---
 meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/images/build-appliance-image_15.0.0.bb +2 -2
index 1911d4c..922db14 100644
@@ -102,8 +102,8 @@ create_bundle_files () {
 	mkdir -p Yocto_Build_Appliance
 	cp *.vmx* Yocto_Build_Appliance
 	ln -sf ${IMGDEPLOYDIR}/${IMAGE_NAME}.vmdk Yocto_Build_Appliance/Yocto_Build_Appliance.vmdk
-	zip -r ${IMGDEPLOYDIR}/Yocto_Build_Appliance-${DATETIME}.zip Yocto_Build_Appliance
-	ln -sf Yocto_Build_Appliance-${DATETIME}.zip ${IMGDEPLOYDIR}/Yocto_Build_Appliance.zip
+	zip -r ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance-${DATETIME}.zip Yocto_Build_Appliance
+	ln -sf Yocto_Build_Appliance-${DATETIME}.zip ${DEPLOY_DIR_IMAGE}/Yocto_Build_Appliance.zip
 }
 create_bundle_files[vardepsexclude] = "DATETIME"
 
Signature · 1 line
2.7.4