From patchwork Thu Nov 19 21:23:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1403277 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=BC0v29me; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CcXkH4ZClz9sTR for ; Fri, 20 Nov 2020 08:24:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9AEB185722; Thu, 19 Nov 2020 21:24:21 +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 kyZcRi8dk2R0; Thu, 19 Nov 2020 21:24:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C4585864D8; Thu, 19 Nov 2020 21:24:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 42C2D1BF32B for ; Thu, 19 Nov 2020 21:24:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3912186C4F for ; Thu, 19 Nov 2020 21:24:02 +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 KURMd9mpVUwp for ; Thu, 19 Nov 2020 21:24:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3559F86C47 for ; Thu, 19 Nov 2020 21:24:01 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id j7so7971898wrp.3 for ; Thu, 19 Nov 2020 13:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QsQLz3P0X7ETKW6gpnjy7BDc7hMk+GuXMTQm48fH9nw=; b=BC0v29mefg3KXbN7G0RTr4ql0uJPQCRy2wSpBw+ora/pPKHXe6lJ6O2bqa2Jt5XzGA VFpO5Jt9DgdjI1ngueoX+xkFV6KS+j3zNedFhPeRY04icHCpfxSTwFxWMI5vZYGra6x1 5UAStI6jq/IAZJe8G6w5iK7uQs0NmmGF17tOzlrsKOfo+BIxya3DcRWzsIYu+eoeLhXZ OstQMXv4R4BHpKBSW/JFlDbEb/EJszdh9Fa3mnrhnvlUWeU4Z52BY1NaORmEJeUIgjVQ +m3sOIIB6Z82RBDqsqhsXL8joxGh5WSHVWZXGSm4eWKWM9WPUhBBdRFsl9CW844HLGYv w1Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=QsQLz3P0X7ETKW6gpnjy7BDc7hMk+GuXMTQm48fH9nw=; b=sX1AJt9rIqDrf6e7tprH2Uw6Tk4CsbKZMBdEFcH+yHYuPWaGXx5pgDjkGUXLGxCSbX XFZinqjDvK3kktgJVfPBlKRheEdtfFcLy6Ls2Sw3lXl2TZ44Lj7vsd8zsL2O8zpOrbi2 7ceyHwMTZ5JwE9i1yf1mBslJqJ+2o+PUSSW3uXCQvcdO3iLY4M5Xzvq8+ckMq3K7MKOO b/cY1vZzxfEjne6n4IJeGI0WaU7ch8KZXTAm8i3WtPHIuoobmheyyz74B6AXStGvSPBW tNtyq3JR2Fz11AbZ9wxkrEEape5L++Cc8fsoHAKJYRmhUTmSYbi2UbWNFyRkvcaZSb2y QKFw== X-Gm-Message-State: AOAM531gn+b3BA3R6Rx20UAtXx36tKAyl2Sux7olHNWmu/1cUVvIEHVi 2qt4Huq//iFVyyEU0dcZuGHYVxhcLqM= X-Google-Smtp-Source: ABdhPJyEzjwENQNil4+iLdoqUMkHWJB5wiZUNeBOXTTLmgGQuW9dyWjW5bCqCrQvUAQunpFmIphNIA== X-Received: by 2002:adf:e287:: with SMTP id v7mr12871235wri.252.1605821039517; Thu, 19 Nov 2020 13:23:59 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:b94c:b327:ef3f:e064]) by smtp.gmail.com with ESMTPSA id l16sm1935392wrx.5.2020.11.19.13.23.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 13:23:58 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Thu, 19 Nov 2020 22:23:51 +0100 Message-Id: <52689e338580e652fe12fec63f9b2a10018610e8.1605821010.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 7/7] package/tar: drop specific version for host variant 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: "Yann E. MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Now we can generate reproducible archives, with all known tar versions starting with 1.27, we don't need to clamp the host-tar version to the old 1.29, and can now bump to any later version. Drop the host-tar version, and use the same as the target variant. Note that we still need the _SOURCE trick, to avoid depending on tar to extract the tar tarball... Signed-off-by: Yann E. MORIN --- package/tar/tar.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 9e0a40e561..7822b1dada 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -29,14 +29,10 @@ endif $(eval $(autotools-package)) -# host-tar is used to create the archives in the VCS download backends and tar -# 1.30 and forward have changed the archive format. So archives generated with -# earlier versions are not bit-for-bit reproducible and the hashes would not -# match. Hence host-tar must be kept at version 1.29. -HOST_TAR_VERSION = 1.29 # host-tar: use cpio.gz instead of tar.gz to prevent chicken-egg problem # of needing tar to build tar. -HOST_TAR_SOURCE = tar-$(HOST_TAR_VERSION).cpio.gz +HOST_TAR_SOURCE = tar-$(TAR_VERSION).cpio.gz + define HOST_TAR_EXTRACT_CMDS mkdir -p $(@D) cd $(@D) && \