diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-03-02 17:02:00 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:43:11 -0800 |
commit | 071489bb39c16311e78addffd56e222b1945c9a4 (patch) | |
tree | 8d32ad911c37a32532d6e30d08066182f1f28e63 /meta/recipes-devtools | |
parent | eee3ee5c5b719b65fe50a000d501c2f1c9c27767 (diff) | |
download | poky-071489bb39c16311e78addffd56e222b1945c9a4.tar.gz |
e2fsprogs_1.43.8.bb: improve reproducibility
Various builds of e2fsprogs 1.43.7 package locales which may or may
not have POT-Creation-Date removed. There is no obvious pattern, it
affects different locales each time, the build being non-deterministic.
The root cause was tracked to non-deterministic time stamps (as GIT does
not preserve file mktime), so some "make" rules sometimes fired, sometimes
did not.
The remedy is to explicitly "touch" files that cause non-deterministic build.
[YOCTO #12516]
(From OE-Core rev: b32f3b655189fd89dcfce084b6fda0d379300f75)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb index ceaf171585..4fa976d51f 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb | |||
@@ -25,6 +25,9 @@ EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enabl | |||
25 | PACKAGECONFIG ??= "" | 25 | PACKAGECONFIG ??= "" |
26 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' | 26 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' |
27 | 27 | ||
28 | do_compile_prepend (){ | ||
29 | find ${S}/po -type f -name "*.po" -exec touch {} + | ||
30 | } | ||
28 | 31 | ||
29 | do_install () { | 32 | do_install () { |
30 | oe_runmake 'DESTDIR=${D}' install | 33 | oe_runmake 'DESTDIR=${D}' install |