Bug 13729

Summary: Changing siteinfo files doesn't change task checksum
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 3.0   
Target Milestone: 3.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2020-01-09 11:18:25 UTC
The task checksums don't change when siteinfo is changed yet some recipes depend on the values in these files.

The way to handle this is similar to Ross' recent meson change to use the siteinfo code in meson which does correctly account for the checksums through the do_configure[file-checksums] setting.
Comment 1 Ross Burton 2020-01-31 13:22:28 UTC
Not quite as simple as the site files could be in any layer so the glib fix in oe 83899aad423cd36cea7ab2ea210feae5b3359823 wouldn't work.
Comment 2 Ross Burton 2020-01-31 13:23:20 UTC
Punting to RP.

There's a relevant cleanup and a broken implementation in ross/mut.
Comment 3 Richard Purdie 2021-09-22 08:38:57 UTC
I have patches for this but this likely can't be fixed for the native/cross case due to other needs from the task checksums which can't be arch specific in that case.
Comment 4 Richard Purdie 2021-09-23 13:47:17 UTC
Enabled for target in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3dfd4ed0ef61daa55745b3ab378593e653562a30 but native/cross/crosssdk isn't possible unless we checksum everything. Chosen not to do that for now.