Bug 5245 - bitbake stores full paths for file checksums in siginfo
Summary: bitbake stores full paths for file checksums in siginfo
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium minor
Target Milestone: 1.6 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-20 12:49 UTC by Paul Eggleton
Modified: 2013-10-14 16:51 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2013-09-20 12:49:00 UTC
When BitBake store the list of checksums for files in SRC_URI in the siginfo file, the full paths to the files are used; if you move your source directory and then do a bitbake-diffsigs between two build runs this will result in that reporting the path change as a difference even though the value that goes into the signature has not changed, which is less than ideal. We should be normalising the paths (probably making them relative to the recipe path) to avoid this.
Comment 1 Paul Eggleton 2013-10-14 16:51:56 UTC
Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e9662e892653dcb8176a5308da1a5a829fc3f339

(In the end I opted to completely remove the path since making it relative to the recipe path wouldn't work for recipes bbappended across multiple layers.)