From patchwork Fri Feb 15 23:20:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 1043285 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="Cfgyue8W"; 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 441TvP0gGKz9sDr for ; Sat, 16 Feb 2019 10:27:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 61C40870C0; Fri, 15 Feb 2019 23:27:42 +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 Z-ubhH9pHC2A; Fri, 15 Feb 2019 23:27:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 634288704D; Fri, 15 Feb 2019 23:27:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 43EA31BF83A for ; Fri, 15 Feb 2019 23:27:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4134487E27 for ; Fri, 15 Feb 2019 23:27:39 +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 4IdsE1IJ77vc for ; Fri, 15 Feb 2019 23:27:38 +0000 (UTC) X-Greylist: delayed 00:07:05 by SQLgrey-1.7.6 Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id A435887E19 for ; Fri, 15 Feb 2019 23:27:38 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id j18so5561986pfe.1 for ; Fri, 15 Feb 2019 15:27:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=omj7XRQkbVrqxveurMX4DF0mY91igUALF1d9hp/3W0I=; b=Cfgyue8W8PVo4EyTXjL/fw7zE49/u46JOPXkj7XYxFwk030ae17/yAw51i393JSiak 0z9P5dmycuMXk80jnulQXMqOWgB7MdtDNJttn7qS9bKOo9pPDVMzq8FQQb5avnQ8AoxY +ciLd++cu1flZl3+UkJZsmg5+NwBdGQTPmqEM= 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; bh=omj7XRQkbVrqxveurMX4DF0mY91igUALF1d9hp/3W0I=; b=CjwdD88shkHKbRU9rqRtqoe9F+JKT7jetovFdrcQxUBMH0g/+TJ5SK+yaOeapLWfJ6 SpaBHkVcUC8WbhjLcCtcsIE/ASNGP0oYe8vO+BLKR7F/rgDGIdQx6v1X9fddZjYU2nwm iPjnSarYzPPPyVr3CWYt5fYNSdtSZddICXAHrJSxdsxleMZzziNTasBzAhAxm6UnxnZD JSEdoXtEuiPdPynwCFRB/7WGxGZabwx8umYOA5SLUoGB0P5a1dWAs1IaLYys6oH9e6u6 MeG3W13hRMJtT0Zy4l+7V/CB0aau2bWFZvOidIBx/EsgDSJcE8rsXWCNn0V2qtp54k7T N1ng== X-Gm-Message-State: AHQUAubOyJlTt/Z0og2WrZX8HJwb8spELrYNguGUyVYzpANAC9TBHN1z T4DTxe5qFgmaOz3/RMD7KaMe8VFEFErlIX5s+8vqgHj9xSJmif3KQ/6kHMMwHnkdtTJMuNMHch3 TD2yq925h76439mb/Gt3tkxJps9V23rKk9vNmJybkJ8LoYpdTVeEQaDUsdmziU6/4C6WD X-Google-Smtp-Source: AHgI3IZnlXZkWFEsXR1c0JR14aTohED4XMBo5001Ped0Bb94WfawFax9ZiXZ8EHATdlcUr7GOq9P6g== X-Received: by 2002:a63:ec48:: with SMTP id r8mr11644001pgj.50.1550272832804; Fri, 15 Feb 2019 15:20:32 -0800 (PST) Received: from lbrmn-mmayer.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id h79sm9642243pfj.186.2019.02.15.15.20.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 15:20:32 -0800 (PST) From: Markus Mayer To: buildroot@buildroot.org Date: Fri, 15 Feb 2019 15:20:06 -0800 Message-Id: <20190215232006.4990-1-mmayer@broadcom.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] tar: add Config.in.host 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: Markus Mayer MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add a config option to build tar for the host, so the user can choose to build it, even if Buildroot wouldn't do so ordinarily. Signed-off-by: Markus Mayer --- Since Buildroot can only work with three tar version (1.27-1.29), the likelihood that system tar is too old or too new is quite high -- and increasing. Ubuntu 16.04 and 18.04 ship with an acceptabe version of tar. As of Ubuntu 18.10, system tar is already too recent. Our main build machines are Ubuntu 16.04, but we need to support other platforms. We need build machines of different flavours to be able to build buildroot without requiring an Internet connection, using only pre-downloaded package tar-balls (downloaded during the master build). We can't rely that the tar sources have been downloaded automatically based on what was detected on the master build machine, because it may not require host-tar while a different build machine might. A manual config option will give us the choice to build and bundle host-tar regardless of what Buildroot finds on the master. package/Config.in.host | 1 + package/tar/Config.in.host | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 package/tar/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index b4c501a33b32..6fa37c33732b 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -60,6 +60,7 @@ menu "Host utilities" source "package/squashfs/Config.in.host" source "package/sunxi-tools/Config.in.host" source "package/swig/Config.in.host" + source "package/tar/Config.in.host" source "package/tegrarcm/Config.in.host" source "package/ti-cgt-pru/Config.in.host" source "package/uboot-tools/Config.in.host" diff --git a/package/tar/Config.in.host b/package/tar/Config.in.host new file mode 100644 index 000000000000..ef3bdf30de89 --- /dev/null +++ b/package/tar/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_TAR + bool "host tar" + help + A program that saves many files together into a single tape + or disk archive, and can restore individual files from the + archive. + + http://www.gnu.org/software/tar/