]> code.ossystems Code Review - openembedded-core.git/commitdiff
e2fsprogs-doc: binary reproducible
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 10 Aug 2017 19:20:55 +0000 (12:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:01:43 +0000 (00:01 +0100)
When compressing by gzip, do not save the original file name and time stamp.

[YOCTO #11916]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch [new file with mode: 0644]
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch
new file mode 100644 (file)
index 0000000..8e5d1d3
--- /dev/null
@@ -0,0 +1,21 @@
+
+Suppport for binary reproducibility.
+When compressing, do not save the original file name and time stamp.
+
+Upstream-Status: Submitted [Theodore Ts'o tytso@mit.edu (maintainer)]
+
+Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
+
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index 9cb584c..0bee4e4 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -28,7 +28,7 @@ install-doc-libs: libext2fs.info libext2fs.dvi
+               $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
+       done
+       $(E) "  GZIP $(infodir)/libext2fs.info*"
+-      -$(Q) gzip -9 $(DESTDIR)$(infodir)/libext2fs.info*
++      -$(Q) gzip -9 -n $(DESTDIR)$(infodir)/libext2fs.info*
+ uninstall-doc-libs:
+       $(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
index 7c8809a41e27e6077d9138de904b0e5e6532ab0a..56929c9d5d7ad2e6de789de8734e7a191b18b92a 100644 (file)
@@ -10,6 +10,7 @@ SRC_URI += "file://acinclude.m4 \
             file://e2fsprogs-1.43-sysmacros.patch \
             file://mkdir_p.patch \
             file://0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch \
+            file://reproducible-doc.patch \
 "
 
 SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch"