diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 5b1746a68c..50545d9fdf 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -265,6 +265,10 @@ python () { | |||
265 | d.setVar('WKS_TEMPLATE_PATH', wks_file_u) | 265 | d.setVar('WKS_TEMPLATE_PATH', wks_file_u) |
266 | d.setVar('WKS_FILE_CHECKSUM', '${WKS_TEMPLATE_PATH}:True') | 266 | d.setVar('WKS_FILE_CHECKSUM', '${WKS_TEMPLATE_PATH}:True') |
267 | 267 | ||
268 | # We need to re-parse each time the file changes, and bitbake | ||
269 | # needs to be told about that explicitly. | ||
270 | bb.parse.mark_dependency(d, wks_file) | ||
271 | |||
268 | try: | 272 | try: |
269 | with open(wks_file, 'r') as f: | 273 | with open(wks_file, 'r') as f: |
270 | body = f.read() | 274 | body = f.read() |