summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 9bb5a5cb0b..525c5a6173 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -210,7 +210,11 @@ def testimage_main(d):
210 bb.fatal('Unsupported image type built. Add a comptible image to ' 210 bb.fatal('Unsupported image type built. Add a comptible image to '
211 'IMAGE_FSTYPES. Supported types: %s' % 211 'IMAGE_FSTYPES. Supported types: %s' %
212 ', '.join(supported_fstypes)) 212 ', '.join(supported_fstypes))
213 rootfs = '%s.%s' % (image_name, fstypes[0]) 213 qfstype = fstypes[0]
214 qdeffstype = d.getVar("QB_DEFAULT_FSTYPE")
215 if qdeffstype:
216 qfstype = qdeffstype
217 rootfs = '%s.%s' % (image_name, qfstype)
214 218
215 # Get tmpdir (not really used, just for compatibility) 219 # Get tmpdir (not really used, just for compatibility)
216 tmpdir = d.getVar("TMPDIR") 220 tmpdir = d.getVar("TMPDIR")