aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-08-16 09:23:51 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2018-08-16 06:54:38 +0000
commit7fe6f612e69d99d85e94ce247b9fceed701e71b2 (patch)
treed4fb43b7f4d5ecd23438319d3942163d29069d2c
parentdc731422c22896329737cc2f6a018accbd45f8a3 (diff)
toradex: fix problem with basehash in tezi
The tezi image uses DATE value but does not exclude it from basehash calculation, which leads to build error: "basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed." Change-Id: I02650c233df7d7b5443a4968f8b7be3759506cef Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
-rw-r--r--meta-boot2qt-distro/conf/distro/include/toradex.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/toradex.inc b/meta-boot2qt-distro/conf/distro/include/toradex.inc
index 83b6d458..85d94557 100644
--- a/meta-boot2qt-distro/conf/distro/include/toradex.inc
+++ b/meta-boot2qt-distro/conf/distro/include/toradex.inc
@@ -46,3 +46,7 @@ BOOT_SCRIPTS += " \
fwd_mmc.img:flash_mmc.img \
${MACHINE}:${MACHINEDIR} \
"
+
+# fix: basehash value changed from ... to ....
+# The metadata is not deterministic and this needs to be fixed.
+rootfs_tezi_json[vardepsexclude] = "DATE"