[oe-commits] [openembedded-core] 21/24: e2fsprogs_1.43.8.bb: improve reproducibility

git at git.openembedded.org git at git.openembedded.org
Tue Mar 6 14:41:04 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b32f3b655189fd89dcfce084b6fda0d379300f75
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Fri Mar 2 17:02:00 2018 -0800

    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 <juro.bystricky at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb
index ceaf171..4fa976d 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list