]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types.bbclass: build wic-tools
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 18 Jan 2017 17:10:49 +0000 (19:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:50 +0000 (12:03 +0000)
Added dependency do_image_wic -> wic-tools:do_build to ensure
that all required tools are ready to use by wic.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/classes/image_types.bbclass

index 7748dee8eb96f84fd91eaa57114c7148209add3c..ff5e7278ce27c0ec5f91d398fd0f4404f5bb97fa 100644 (file)
@@ -226,6 +226,7 @@ IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES"
 USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${CONVERSIONTYPES}'.split()), '1', '', d)}"
 WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}') if '${USING_WIC}' else ''}"
 do_image_wic[file-checksums] += "${WKS_FILE_CHECKSUM}"
+do_image_wic[depends] += "wic-tools:do_build"
 
 python () {
     if d.getVar('USING_WIC') and 'do_bootimg' in d: