diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-07-01 14:27:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:44 +0100 |
commit | be90c3ec5cabc64a63488b9e1bf1879155b43a6a (patch) | |
tree | 77689951c3692d72269a89272d6f45be6d0930e5 | |
parent | 8cc2f2c65aa3570e45d79cac317be29312654c65 (diff) | |
download | poky-be90c3ec5cabc64a63488b9e1bf1879155b43a6a.tar.gz |
image_types.bbclass: add intermediate var for WKS_FILE_CHECKSUM
This is a bit nicer to work with, and easier to override.
(From OE-Core rev: 44f1d3cc613563b8d5be61a2648d0cd336fea728)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image_types.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 72e8ed34d5..f7de756b71 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -215,7 +215,8 @@ IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES" | |||
215 | 215 | ||
216 | # Rebuild when the wks file or vars in WICVARS change | 216 | # Rebuild when the wks file or vars in WICVARS change |
217 | USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${COMPRESSIONTYPES}'.split()), '1', '', d)}" | 217 | USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${COMPRESSIONTYPES}'.split()), '1', '', d)}" |
218 | do_image_wic[file-checksums] += "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}') if '${USING_WIC}' else ''}" | 218 | WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}') if '${USING_WIC}' else ''}" |
219 | do_image_wic[file-checksums] += "${WKS_FILE_CHECKSUM}" | ||
219 | 220 | ||
220 | EXTRA_IMAGECMD = "" | 221 | EXTRA_IMAGECMD = "" |
221 | 222 | ||