Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs
@ 2019-07-16 17:42 Atharva Lele
  2019-07-16 17:42 ` [Buildroot] [PATCH v2 2/2] Makefile: don't export GZIP environment variable Atharva Lele
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Atharva Lele @ 2019-07-16 17:42 UTC (permalink / raw)
  To: buildroot

We don't use the GZIP environment variable to store GZIP options
anymore. So explicitly add -n argument to the GZIP call to ensure
reproducibility.

Signed-off-by: Atharva Lele <itsatharva@gmail.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
Changes v1 -> v2:
  - Reversed order of patches
---
 fs/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/common.mk b/fs/common.mk
index fceb38c5b9..ca46a331d6 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -115,7 +115,7 @@ ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES = $$(sort \
 
 ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y)
 ROOTFS_$(2)_COMPRESS_EXT = .gz
-ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c
+ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c -n
 endif
 ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y)
 ROOTFS_$(2)_COMPRESS_EXT = .bz2
-- 
2.22.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-04 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 17:42 [Buildroot] [PATCH v2 1/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs Atharva Lele
2019-07-16 17:42 ` [Buildroot] [PATCH v2 2/2] Makefile: don't export GZIP environment variable Atharva Lele
2019-08-04 20:12   ` Peter Korsgaard
2019-07-17  6:47 ` [Buildroot] [PATCH v2 1/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs Thomas Petazzoni
2019-08-04 20:12 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox