summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-20 12:15:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 11:45:47 +0000
commitce6e7b9f3f63a589e6bea992af691c6a7befa26e (patch)
tree993556d1bb8246b2c24317cce258445280a5bf69 /meta/recipes-gnome
parentad772108926ea8cd8cce4af254e96e7197360561 (diff)
downloadpoky-ce6e7b9f3f63a589e6bea992af691c6a7befa26e.tar.gz
u-boot-tools: Fix reproducibility issue
If you build on a system with git < 2.14 from scratch (e.g. debian9), the tree will be marked as "dirty" and the version will include "-dirty", leading to a reproducibility problem. The issue is the inode count for Licnses/README changing due to do_populate_lic hardlinking a copy of the file. We avoid this by ensuring the index is updated with a "git diff" before the u-boot machinery tries to determine the version. build$ ../git/scripts/setlocalversion ../git "" build$ ln ../git/ build$ ln ../git/README ../foo build$ ../git/scripts/setlocalversion ../git ""-dirty (i.e. creating a hardlink dirties the index) (From OE-Core rev: bd6495ba968f359c53e75a61e373124acf33ead5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a4de915af9e2c4d365527ad09286483b2ee904fc) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
0 files changed, 0 insertions, 0 deletions