diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 5ef6f60b89..a7fffbce06 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -219,6 +219,11 @@ USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s | |||
219 | WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}') if '${USING_WIC}' else ''}" | 219 | WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}') if '${USING_WIC}' else ''}" |
220 | do_image_wic[file-checksums] += "${WKS_FILE_CHECKSUM}" | 220 | do_image_wic[file-checksums] += "${WKS_FILE_CHECKSUM}" |
221 | 221 | ||
222 | python () { | ||
223 | if d.getVar('USING_WIC', True) and 'do_bootimg' in d: | ||
224 | bb.build.addtask('do_image_wic', '', 'do_bootimg', d) | ||
225 | } | ||
226 | |||
222 | python do_write_wks_template () { | 227 | python do_write_wks_template () { |
223 | """Write out expanded template contents to WKS_FULL_PATH.""" | 228 | """Write out expanded template contents to WKS_FULL_PATH.""" |
224 | import re | 229 | import re |