From: Juro Bystricky Date: Sat, 3 Mar 2018 01:02:00 +0000 (-0800) Subject: e2fsprogs_1.43.8.bb: improve reproducibility X-Git-Tag: uninative-1.8~102 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b32f3b655189fd89dcfce084b6fda0d379300f75;p=openembedded-core.git 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] Signed-off-by: Juro Bystricky Signed-off-by: Ross Burton --- 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 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