diff options
-rw-r--r-- | meta/classes-recipe/testimage.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index ed0d87b7a7..72282ac362 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
@@ -110,7 +110,7 @@ TESTIMAGELOCK:qemuall = "" | |||
110 | 110 | ||
111 | TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/" | 111 | TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/" |
112 | 112 | ||
113 | TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME" | 113 | TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME IMAGE_NAME" |
114 | 114 | ||
115 | testimage_dump_monitor () { | 115 | testimage_dump_monitor () { |
116 | query-status | 116 | query-status |
@@ -208,7 +208,7 @@ def testimage_main(d): | |||
208 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) | 208 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) |
209 | 209 | ||
210 | image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'), | 210 | image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'), |
211 | d.getVar('IMAGE_LINK_NAME'))) | 211 | d.getVar('IMAGE_LINK_NAME') or d.getVar('IMAGE_NAME'))) |
212 | 212 | ||
213 | tdname = "%s.testdata.json" % image_name | 213 | tdname = "%s.testdata.json" % image_name |
214 | try: | 214 | try: |