Patchwork [2/2] toaster.bbclass: the license.manifest is located in DEPLOY_DIR

login
register
mail settings
Submitter Alexandru DAMIAN
Date March 31, 2014, 4:39 p.m.
Message ID <1f7e36d6938c1376181470a3cdcf51749dda51a3.1396283886.git.alexandru.damian@intel.com>
Download mbox | patch
Permalink /patch/69703/
State Accepted
Commit 1e51b5a505a0a72ca063fcd87b344ef1c67f3f3c
Headers show

Comments

Alexandru DAMIAN - March 31, 2014, 4:39 p.m.
From: Cristiana Voicu <cristiana.voicu@intel.com>

Replaced DEPLOY_DIR_IMAGE with DEPLOY_DIR

[YOCTO #6051]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 meta/classes/toaster.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index f55a4d7..9fb2cec 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -299,10 +299,10 @@  python toaster_buildhistory_dump() {
 # dump information related to license manifest path
 
 python toaster_licensemanifest_dump() {
-    deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE', True);
+    deploy_dir = d.getVar('DEPLOY_DIR', True);
     image_name = d.getVar('IMAGE_NAME', True);
 
-    data = { 'deploy_dir_image' : deploy_dir_image, 'image_name' : image_name }
+    data = { 'deploy_dir' : deploy_dir, 'image_name' : image_name }
 
     bb.event.fire(bb.event.MetadataEvent("LicenseManifestPath", data), d)
 }