When compressing by gzip, do not save the original file name and time stamp.

[YOCTO #11916]

Signed-off-by: Juro Bystricky <juro.bystri...@intel.com>
---
 .../e2fsprogs/e2fsprogs/reproducible-doc.patch      | 21 +++++++++++++++++++++
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 
meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch
new file mode 100644
index 0000000..8e5d1d3
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch
@@ -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 ty...@mit.edu (maintainer)]
+
+Signed-off-by: Juro Bystricky <juro.bystri...@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*
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb
index 7c8809a..56929c9 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb
@@ -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"
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to