Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Atharva Lele <itsatharva@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs
Date: Wed,  3 Jul 2019 22:09:59 +0530	[thread overview]
Message-ID: <20190703163959.23070-2-itsatharva@gmail.com> (raw)
In-Reply-To: <20190703163959.23070-1-itsatharva@gmail.com>

We don't use the GZIP environment variable to store GZIP options,
so explicitly add -n argument here to increase reproducibility.

Signed-off-by: Atharva Lele <itsatharva@gmail.com>
---
 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

  reply	other threads:[~2019-07-03 16:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-03 16:39 [Buildroot] [PATCH 1/2] Makefile: don't export GZIP environment variable Atharva Lele
2019-07-03 16:39 ` Atharva Lele [this message]
2019-07-14 18:06   ` [Buildroot] [PATCH 2/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs Yann E. MORIN
2019-07-14 18:07 ` [Buildroot] [PATCH 1/2] Makefile: don't export GZIP environment variable Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190703163959.23070-2-itsatharva@gmail.com \
    --to=itsatharva@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox