aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGravatar Atharva Lele <itsatharva@gmail.com>2019-07-16 23:12:13 +0530
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-07-17 08:45:11 +0200
commit44d17dd128164cfe7870f5bef279e273ba59f83d (patch)
treee1786d0d468f861a22bd760e910548c6efb0c3cc /fs
parent8ffee67ab44865fa58e6c21175f62e2d3a1b37d4 (diff)
downloadbuildroot-44d17dd128164cfe7870f5bef279e273ba59f83d.tar.gz
buildroot-44d17dd128164cfe7870f5bef279e273ba59f83d.tar.bz2
fs/common.mk: do not store original names and timestamps when creating gzipped rootfs
Using the GZIP environment variable to pass gzip options is deprecated, and therefore we are going to remove the "GZIP = -n" definition from the main Buildroot Makefile. In preparation for this, we explicitly add the -n argument to the gzip call in fs/common.mk to ensure reproducibility. Signed-off-by: Atharva Lele <itsatharva@gmail.com> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/common.mk2
1 files changed, 1 insertions, 1 deletions
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