From patchwork Wed Jul 3 16:39:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atharva Lele X-Patchwork-Id: 1126957 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="B7bnSBVd"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45f6Kb0ycJz9sLt for ; Thu, 4 Jul 2019 02:40:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1627B85EB4; Wed, 3 Jul 2019 16:40:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xf12uRFtET2u; Wed, 3 Jul 2019 16:40:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9DADF862B2; Wed, 3 Jul 2019 16:40:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EC6711BF377 for ; Wed, 3 Jul 2019 16:40:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E846082146 for ; Wed, 3 Jul 2019 16:40:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKbiCv0M4GJZ for ; Wed, 3 Jul 2019 16:40:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5034E81FD3 for ; Wed, 3 Jul 2019 16:40:14 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id b7so1542421pls.6 for ; Wed, 03 Jul 2019 09:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AjSZzJ59UDQ0RpnzshjgUhV/NFNM6tDpjLaQYdzPGdw=; b=B7bnSBVdWpAqCl9Kzpvz4qUn8kQ+w6fC4udRm5QfwLbbqt6PfmPeISsXhT+h2yUXXG zrfS5cwBmq3SXHWisu9jMVHib/basfrVkonMzXMrIxyb+rzg/1+pO6HvneC4e7LV6nJy CeT7kByqpWBOqJqDRzIGs1dZmK0oTr4isFqMNvMLlpaDfl5iokI4rTcoY9WIQq0hmjPr j/YijYxqhkFwVSHXP18LhVSYlBKXkJe7IHTJdvJik1L/gjWzQlv+CxBczOl2+QSk7xWE PQ9awpc92NLmGJXhwDNXfid7mdZ86SrhyIiJ8iNDsH05WLYHlVhzaqVw9PmihC4LjSEr jjOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AjSZzJ59UDQ0RpnzshjgUhV/NFNM6tDpjLaQYdzPGdw=; b=IBwwMBWn6YG29QMSAoOU+wS+OmCH/MAhlix9PdpzAkUFewrNA97J4aMaUmjRodAEns y+rdTF62QTmopk97pRyuxzTAQ2VMSOs0l3tCT9bVpKNVi54vluOJzBBVW3etjlz1bI14 Zlupi7t30dzq+fbueM/WLT7YocN6efjW1AUhZVYC+pEtq5YtD45nwYLvtgU972BL99gB W05pIBFxcLzN5d7p9VoEqcOXpDiiCjixYlL0xTE0auqHnoO9fcSdMhLu3dD/LEfHnfvx ykBZXfQANZmps1I3BqKVOPpp9g7ai9T0M0B/z8ixb52mef9AZq5tFq3QnryUfuPoxhYi INRg== X-Gm-Message-State: APjAAAXNoijcgR3y4qgVQz6NGG5ipwgX/cM2B0Y4PFti6Ack/KOn890q /pt9Jo2RNYlsFTDOYQAObLVIafJ7ZM8= X-Google-Smtp-Source: APXvYqybepuG0lAfXL42GmJ/1NjX2amBitmgqvqUrth5ABkHgSxkEc0Am7YeLaztCm6M0yv8YOWxfQ== X-Received: by 2002:a17:902:2aab:: with SMTP id j40mr41611287plb.76.1562172013320; Wed, 03 Jul 2019 09:40:13 -0700 (PDT) Received: from localhost.localdomain ([123.201.36.115]) by smtp.gmail.com with ESMTPSA id r15sm3311990pfh.121.2019.07.03.09.40.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 09:40:12 -0700 (PDT) From: Atharva Lele To: buildroot@buildroot.org Date: Wed, 3 Jul 2019 22:09:58 +0530 Message-Id: <20190703163959.23070-1-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] Makefile: don't export GZIP environment variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Atharva Lele , yann.morin.1998@free.fr Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" We export GZIP = -n so that GZIP does not record original name and timestamps. However.. GZIP environment variable is deprecated and soon will not be supported in future GZIP versions. GZIP suggests the use of a wrapper to pass options globally but it might be difficult to implement in Buildroot. For now, we don't export the variable and fix reproducibility issues per package as they show up in Autobuilder. Signed-off-by: Atharva Lele Acked-by: Yann E. MORIN --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index c98a0ed87e..9cce934990 100644 --- a/Makefile +++ b/Makefile @@ -248,7 +248,6 @@ ifeq ($(BR2_REPRODUCIBLE),y) export TZ = UTC export LANG = C export LC_ALL = C -export GZIP = -n endif # To put more focus on warnings, be less verbose as default From patchwork Wed Jul 3 16:39:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atharva Lele X-Patchwork-Id: 1126958 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iXg5Imjn"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45f6Kk2FgTz9s8m for ; Thu, 4 Jul 2019 02:40:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 349F684E88; Wed, 3 Jul 2019 16:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kGKcGC02OcB7; Wed, 3 Jul 2019 16:40:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id ACBAD84A33; Wed, 3 Jul 2019 16:40:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9E71E1BF377 for ; Wed, 3 Jul 2019 16:40:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9C04684763 for ; Wed, 3 Jul 2019 16:40:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iBl59350M45g for ; Wed, 3 Jul 2019 16:40:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 003598620B for ; Wed, 3 Jul 2019 16:40:19 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id r1so1530851pfq.12 for ; Wed, 03 Jul 2019 09:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Mg7Jx/rFQwJAstMVjhUNx8TkG9pK6AaOvTK6uXGncHU=; b=iXg5ImjnFxYvVjUW5PR3FvB4aCsqAn/9mqXVrDCa+FhrSRj8rugQH5DA7HyShUjYaW b8k+p5cUFTFzQ34DCmWVXMXoXoY++KG4tpZCA9W/8DHxjwLQHhOaXA39yqRyvVK49qIi 1SzTjh3DLpd+GIEmTNBsQ3gMM92aXWDa9Gke7DyAErUXW4vo/QbVCVKMKQbQ6HEMboEQ qHN3EOQVFwttmi9KVLPREpv+5+5NsNmediUs9413g59hovNM5D6mLWwdXItVhT+7sB2c 9dPFwaYkDw+wABv0AUwPn1XGos3yv8dVOspKpKh+AdoZsggyQHzym+1Hw/JNwdxyz3dl SnVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Mg7Jx/rFQwJAstMVjhUNx8TkG9pK6AaOvTK6uXGncHU=; b=LuRVBh6JILKVz/jwC0myy3ejPXCI1Rg4At70NOetSRBLQDICXzDBC7Z7DFlKj6O8fm RgWfAjShkrsQXsf0n543G1jt+iHEsmhziuoP/RXqL2PozQbJ7WlS72hZRhccrnyTZEdV Ql4ZWJyVv3EaRHQESU8LCMBvDiB+mF+XQOOS722RA6ZdDuSVN13qKpM7moyYPUWcks7/ wzd24ieIRHlmnBMlI/mJe8gIUXQad+mapJYLEwE8YX7EOqISoJua6HN90eAe25rJLoE3 4Q2ZX5U+0lEcqVpAtxxAlI2Xq69f7+0HxlH23yeYZZdo3Auc62eGlAqxfi6QTOQv0DPD NpyA== X-Gm-Message-State: APjAAAUiJZ7+fYiPrnRAoISvEoewkiJ4E6PlwYen0sTrQ8sPCXmueO5q NgpsmZlfhm/yaDjxaZtxhs7ZTol8Erw= X-Google-Smtp-Source: APXvYqxGsqk35T7YPxrmj+BH9cOkBxzRSzT1pae1DFWRlFB1SirUcy0PoiRpZw03Xt2+JNrhEmlaMA== X-Received: by 2002:a63:3447:: with SMTP id b68mr37552114pga.226.1562172019016; Wed, 03 Jul 2019 09:40:19 -0700 (PDT) Received: from localhost.localdomain ([123.201.36.115]) by smtp.gmail.com with ESMTPSA id r15sm3311990pfh.121.2019.07.03.09.40.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 09:40:18 -0700 (PDT) From: Atharva Lele To: buildroot@buildroot.org Date: Wed, 3 Jul 2019 22:09:59 +0530 Message-Id: <20190703163959.23070-2-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190703163959.23070-1-itsatharva@gmail.com> References: <20190703163959.23070-1-itsatharva@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] fs/common.mk: do not store original names and timestamps when creating GZIP rootfs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Atharva Lele , yann.morin.1998@free.fr Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Acked-by: Yann E. MORIN --- 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