From patchwork Thu Nov 19 21:23:50 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: 1403274 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.133; helo=hemlock.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=NnyK4Z0/; 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 4CcXjy65zgz9sTR for ; Fri, 20 Nov 2020 08:24:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 014C187471; Thu, 19 Nov 2020 21:24:04 +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 biPgxYEpKAPv; Thu, 19 Nov 2020 21:24:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3FDB0874BC; Thu, 19 Nov 2020 21:24:03 +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 4BB301BF32B for ; Thu, 19 Nov 2020 21:24:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2693A8324B for ; Thu, 19 Nov 2020 21:24:01 +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 tWHkerTChRgd for ; Thu, 19 Nov 2020 21:24:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id 545A781E39 for ; Thu, 19 Nov 2020 21:24:00 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id s8so7899143wrw.10 for ; Thu, 19 Nov 2020 13:24:00 -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=nXBlXgpcQ1m1Lck4/+0gjdEMuCczaSRg/ewqkDL/ZQs=; b=NnyK4Z0/87jfR5KF4MPbdxs5+kSOuqS5KutnOR7Uh1ZFvObs6ORn8P+5HExXjQnDZ+ GrQ9EkF5wwfFtMNlo7M/pOnfAPQh9XVbIeP91JGR7aNRyZQYSix5mnZGtq9aoREqUEZB /vC4p19wvefezvLAvC1olR2HU7L57GNZ+puPcQ4y18XlUWL9WHWXOVRVxEKiT/jedky/ DibCwbATK9gB/E0tap39GD9Iw+xbFSl1GcAEqR+sjiecd/5fRaTJI+hRs6WK5rTYgyZD tphOrKyJUH0GU4VyZHp8ixsFj7XspWE2magEmpQpqzo6eRCFeDjXdL91Yh6cYvLE12q1 MJhQ== 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=nXBlXgpcQ1m1Lck4/+0gjdEMuCczaSRg/ewqkDL/ZQs=; b=aEqsHWfSbb+C+t4/yPXzb9s1nlQrSRVRdsXGB9FJlQocEEVfLH9WefyGEi8+M9sTUZ 8veHAucA+SpaKWuBsw1VItQq6iLe8xn1wvjpZ9oHFYg5WgSUPne/CCDonHS/7WcRcJch VW27i1wgaQrNZ+DoClDnOrtfoluyN1L5YOjJ0uhNzHSWAu/krFsR+51n0RTtoyBBMkr6 LbuCqnmsgTDmIADcqhl9vio3stlxL6u9wJNn5P/3f7JufVj/0DPM0nQIDNCsnRbDr3uE 1uOEFdRQPEEQz3/sKx6CgOsTwQUFSRAQycO0xn5mcVNaC0epIltRP2sWycYkYC1qjG/b xPWg== X-Gm-Message-State: AOAM532LUz6Eu8OS1Ln9tbFe1OmtXyPTmzCUAmsx9sYhe86l2CfJ20kc LKlmMfVtwTvzkbwrXbEKp9Pr34i582E= X-Google-Smtp-Source: ABdhPJymurDc1AQQCLS5EkyEE2SfVPddUxRyxGiNLq5RWugoSNlT8YP19CXAKncL3uvUPu23Sufxxw== X-Received: by 2002:adf:a3ca:: with SMTP id m10mr12453752wrb.228.1605821038559; Thu, 19 Nov 2020 13:23:58 -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.57 (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:50 +0100 Message-Id: <55aaa435887324e3263d7c7267a1cdc5a48f3b8b.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 6/7] support/dependencies: drop check for maximal tar version 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" , Vincent Fazio Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" So far, we checked that the tar present on the host was at most tar 1.29, because tar 1.30 changed the way it generates archives. Having a maximum tar version requirement meant that we would always have to build our own host-tar, as distributions are updating the version they use. But now, we have found a way to generate reproducible archives starting with tar 1.27 onward, so we no longer need the check for a maximum tar version, so we can drop that requirement. Signed-off-by: Yann E. MORIN Cc: Vincent Fazio --- support/dependencies/check-host-tar.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/support/dependencies/check-host-tar.sh b/support/dependencies/check-host-tar.sh index 934cb61299..b7d607a47a 100755 --- a/support/dependencies/check-host-tar.sh +++ b/support/dependencies/check-host-tar.sh @@ -33,14 +33,7 @@ fi major_min=1 minor_min=27 -# Maximal version = 1.29 (1.30 changed --numeric-owner output for -# filenames > 100 characters). This is really a fix for a bug in -# earlier tar versions regarding deterministic output so it is -# unlikely to be reverted in later versions. -major_max=1 -minor_max=29 - -if [ $major -lt $major_min -o $major -gt $major_max ]; then +if [ $major -lt $major_min ]; then # echo nothing: no suitable tar found exit 1 fi @@ -50,10 +43,5 @@ if [ $major -eq $major_min -a $minor -lt $minor_min ]; then exit 1 fi -if [ $major -eq $major_max -a $minor -gt $minor_max ]; then - # echo nothing: no suitable tar found - exit 1 -fi - # valid echo $tar