diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-08-10 12:20:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:03:15 +0100 |
commit | 82673ee07893589f4f609fa487abe83b8d37061b (patch) | |
tree | 026cf18d735775fcc40990cab8e7cc1745c2f101 /meta/recipes-devtools/e2fsprogs | |
parent | d3982592e143eacfe862d8a9653fd024e33c9714 (diff) | |
download | poky-82673ee07893589f4f609fa487abe83b8d37061b.tar.gz |
e2fsprogs-doc: binary reproducible
When compressing by gzip, do not save the original file name and time stamp.
[YOCTO #11916]
(From OE-Core rev: c32d526a056adb8ed1eb8beb9d495bfd01af2342)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch | 21 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | 1 |
2 files changed, 22 insertions, 0 deletions
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 0000000000..8e5d1d341d --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/reproducible-doc.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | |||
2 | Suppport for binary reproducibility. | ||
3 | When compressing, do not save the original file name and time stamp. | ||
4 | |||
5 | Upstream-Status: Submitted [Theodore Ts'o tytso@mit.edu (maintainer)] | ||
6 | |||
7 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> | ||
8 | |||
9 | diff --git a/doc/Makefile.in b/doc/Makefile.in | ||
10 | index 9cb584c..0bee4e4 100644 | ||
11 | --- a/doc/Makefile.in | ||
12 | +++ b/doc/Makefile.in | ||
13 | @@ -28,7 +28,7 @@ install-doc-libs: libext2fs.info libext2fs.dvi | ||
14 | $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \ | ||
15 | done | ||
16 | $(E) " GZIP $(infodir)/libext2fs.info*" | ||
17 | - -$(Q) gzip -9 $(DESTDIR)$(infodir)/libext2fs.info* | ||
18 | + -$(Q) gzip -9 -n $(DESTDIR)$(infodir)/libext2fs.info* | ||
19 | |||
20 | uninstall-doc-libs: | ||
21 | $(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 7c8809a41e..56929c9d5d 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 \ | |||
10 | file://e2fsprogs-1.43-sysmacros.patch \ | 10 | file://e2fsprogs-1.43-sysmacros.patch \ |
11 | file://mkdir_p.patch \ | 11 | file://mkdir_p.patch \ |
12 | file://0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch \ | 12 | file://0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch \ |
13 | file://reproducible-doc.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" | 16 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" |