From patchwork Tue Jul 16 17:42:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atharva Lele X-Patchwork-Id: 1132889 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="htC1o/QH"; 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 45p75l75Zfz9s7T for ; Wed, 17 Jul 2019 03:42:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7EFF287DB2; Tue, 16 Jul 2019 17:42:50 +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 JQJuH9Jifw9A; Tue, 16 Jul 2019 17:42:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0309D87E25; Tue, 16 Jul 2019 17:42:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1087F1BF414 for ; Tue, 16 Jul 2019 17:42:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0A62E21574 for ; Tue, 16 Jul 2019 17:42:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFMh6xg+nRSo for ; Tue, 16 Jul 2019 17:42:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by silver.osuosl.org (Postfix) with ESMTPS id 63DB4204D6 for ; Tue, 16 Jul 2019 17:42:46 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id o13so9774100pgp.12 for ; Tue, 16 Jul 2019 10:42:46 -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=9uq35SzDBuGNlHdYuIbi5P7vYCQURSR3eJutvEyODZA=; b=htC1o/QHsMDgjJA7v+BIF1bwPe0LNk/CS5fCZFDrhEXO0vzhhr4QoqinNDti/z6dkU JgwiMECK/WL1PtKwqHU1mN8DwCgQ7xOSAUR2VN5tEh01gTJuEe4ltfcj0QB1y67I1wBG KbvvmpheKItu+9IX9aCoctKhS4WA9bPZ5Gpxl1SqK+auaLiHlfNN1v0I6hQFegxVOctb FcE+EdS0ebsfmPJF7zcDeOXrNLb91mHgt4MHPvRaKFdffPwDwaBO2I9sgakaIeDgXHxX IglFL4PodGbPnbAxTVpAv+Gdxt/D5Vg9cm3AizROuOGDNv3XATvu1xbjJmJh1+5bKFRJ /56A== 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=9uq35SzDBuGNlHdYuIbi5P7vYCQURSR3eJutvEyODZA=; b=cI82IFIJLgFHJ49GlJTuw2pyI6s+2oxFnf5bLGK4PzzimMp/T8SUVROugvExVOj4jJ Y9E95A7OmTngk+m4s9VMJeEkReej1xLT8BesNWubyJWvhAM+b/JnlMms22T89YOxV+Rt 6hICpGWKlONksWAQQJwPcJZaSPgoiP7nM4DMQh+7SH14XgGmGEa/R8Ezr16ZaqdGdjz6 ESd2p+Iyb2CwlmkaC7itxCCrMGDLuIsIxr0p9FG3Wcnfs5VjRDQMq6Yc8383E0KARTjJ GsPch5wc//UU2DsyrxVRoKuRDeC3aDTPtjb+r8MnGLehykGZxUHdmPtfQnzrvHvgNgDj 5hrw== X-Gm-Message-State: APjAAAXjyLBcQpSYpEdzDYmxl2n0XPXDl8QCgayv764ZYGScfCECN3t+ 0/i6qHWCfU+FvHR6e+40ODqirDhb64U= X-Google-Smtp-Source: APXvYqzHcYNdrnfqC6D8908DuARmaFVjlf2GARLNUsSJRSCoTeoNc84t6JSb5JMpzVsaCia1pWV0GA== X-Received: by 2002:a17:90a:374a:: with SMTP id u68mr38165061pjb.4.1563298965604; Tue, 16 Jul 2019 10:42:45 -0700 (PDT) Received: from localhost.localdomain ([123.201.194.59]) by smtp.gmail.com with ESMTPSA id i9sm20900866pgo.46.2019.07.16.10.42.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 10:42:45 -0700 (PDT) From: Atharva Lele To: buildroot@buildroot.org Date: Tue, 16 Jul 2019 23:12:13 +0530 Message-Id: <20190716174214.11914-1-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/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 anymore. So explicitly add -n argument to the GZIP call to ensure reproducibility. Signed-off-by: Atharva Lele Acked-by: Yann E. MORIN --- 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