summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/conf/layer.conf1
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch54
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb1
3 files changed, 55 insertions, 1 deletions
diff --git a/meta-filesystems/conf/layer.conf b/meta-filesystems/conf/layer.conf
index 4d147b7139..f3525365e7 100644
--- a/meta-filesystems/conf/layer.conf
+++ b/meta-filesystems/conf/layer.conf
@@ -25,5 +25,4 @@ BBFILES_DYNAMIC += " \
25# Please keep this list sorted 25# Please keep this list sorted
26OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \ 26OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \
27 e2tools-ptest \ 27 e2tools-ptest \
28 xfsprogs-doc \
29" 28"
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch b/meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch
new file mode 100644
index 0000000000..182d45e4e2
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch
@@ -0,0 +1,54 @@
1From c98d9022377e88f8cc2d557a4ffd321e6f2dd320 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@eng.windriver.com>
3Date: Tue, 18 Nov 2025 01:04:27 -0800
4Subject: [PATCH] doc/man: support reproducible builds
5
6When compressing, do not save the original file name and
7timestamp by default (gzip -n). Make archives be reproducible
8at each build
9
10Upstream-Status: Submitted [linux-xfs@vger.kernel.org]
11
12Signed-off-by: Hongxu Jia <hongxu.jia@eng.windriver.com>
13---
14 doc/Makefile | 2 +-
15 include/buildmacros | 4 ++--
16 2 files changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/doc/Makefile b/doc/Makefile
19index 83dfa38b..17b63c85 100644
20--- a/doc/Makefile
21+++ b/doc/Makefile
22@@ -14,7 +14,7 @@ include $(BUILDRULES)
23
24 CHANGES.gz:
25 @echo " [ZIP] $@"
26- $(Q)$(ZIP) --best -c < CHANGES > $@
27+ $(Q)$(ZIP) -n --best -c < CHANGES > $@
28
29 install: default
30 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
31diff --git a/include/buildmacros b/include/buildmacros
32index 9183e5bc..6ba0d515 100644
33--- a/include/buildmacros
34+++ b/include/buildmacros
35@@ -105,7 +105,7 @@ INSTALL_MAN = \
36 t=$(MAN_DEST)/$$m.$(MAN_SECTION); \
37 if $$first; then \
38 if $(HAVE_ZIPPED_MANPAGES); then \
39- $(ZIP) -9 -c $$d > $$d.gz; _sfx=.gz; \
40+ $(ZIP) -n -9 -c $$d > $$d.gz; _sfx=.gz; \
41 fi; \
42 u=$$m.$(MAN_SECTION)$$_sfx; \
43 echo $(INSTALL) -m 644 $${d}$$_sfx $${t}$$_sfx;\
44@@ -132,6 +132,6 @@ endif
45 MAN_MAKERULE = \
46 @for f in *.[12345678] ""; do \
47 if test ! -z "$$f"; then \
48- $(ZIP) --best -c < $$f > $$f.gz; \
49+ $(ZIP) -n --best -c < $$f > $$f.gz; \
50 fi; \
51 done
52--
532.49.0
54
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb
index 907b875718..80bce6f939 100644
--- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb
@@ -12,6 +12,7 @@ SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \
12 file://0001-support-usrmerge.patch \ 12 file://0001-support-usrmerge.patch \
13 file://0004-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch \ 13 file://0004-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch \
14 file://0005-Replace-off64_t-stat64-with-off_t-stat.patch \ 14 file://0005-Replace-off64_t-stat64-with-off_t-stat.patch \
15 file://0001-doc-man-support-reproducible-builds.patch \
15 " 16 "
16SRC_URI[sha256sum] = "50ca2f4676df8fab4cb4c3ef3dd512d5551e6844d40a65a31d5b8e03593d22df" 17SRC_URI[sha256sum] = "50ca2f4676df8fab4cb4c3ef3dd512d5551e6844d40a65a31d5b8e03593d22df"
17inherit autotools-brokensep pkgconfig 18inherit autotools-brokensep pkgconfig