summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-18 19:10:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:03:50 +0000
commit9f547605d2bec282c5679fb35cd5b28a37c5a0d5 (patch)
treef8c8bebc10fa3a1ada88dae7059d6c43cbe16e86 /meta/classes
parent71066ce21514725428860ca926cc29161f710af6 (diff)
downloadopenembedded-core-9f547605d2bec282c5679fb35cd5b28a37c5a0d5.tar.gz
openembedded-core-9f547605d2bec282c5679fb35cd5b28a37c5a0d5.tar.bz2
openembedded-core-9f547605d2bec282c5679fb35cd5b28a37c5a0d5.zip
image_types.bbclass: build wic-tools
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 7748dee8eb..ff5e7278ce 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -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: