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>
This commit is contained in:
Juro Bystricky
2018-03-02 17:02:00 -08:00
committed by Richard Purdie
parent eee3ee5c5b
commit 071489bb39

View File

@@ -25,6 +25,9 @@ EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enabl
PACKAGECONFIG ??= ""
PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse'
do_compile_prepend (){
find ${S}/po -type f -name "*.po" -exec touch {} +
}
do_install () {
oe_runmake 'DESTDIR=${D}' install