]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: delete DATE variable too
authorStefan Agner <stefan.agner@toradex.com>
Tue, 29 Aug 2017 09:54:00 +0000 (02:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:01:42 +0000 (00:01 +0100)
commit4af13a4855c74cea9cf6c168fd73165d7094bf93
tree1bf3773271c4143acb5e626f499606ddcd9f65be
parent23b359b6e26d0b17037bf955bd15a16a3fd9ab8f
image.bbclass: delete DATE variable too

When creating a custom image which uses the DATE variable the basehash
seems to change every day and lead to errors such as:
ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:set_image_size(d)
...

Add DATE to the variables which should not get expanded early and to the
vardepsexclude list for the image task.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass