From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 5EAE42C74 for ; Tue, 14 Mar 2017 16:03:42 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id v186so66264235wmd.0 for ; Tue, 14 Mar 2017 08:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=n/w4GmBrC6nYgyddZcQa8iSDrad48wLP9XISGMJFw/4=; b=F8q3OwDbYV+0el4TEphcgGKkxRifSw5AgLiGkl+234EJQ9xY2QBN6AEZCvkq16NNBQ KRiJa53RbtyJvtsxYMlf/b2v/qLH7Nyd2rPt+aIjNthxuTdw1nVMoeaV4p/DfHmu6PF1 t8jfQ+P+BTXPgRjwL2Q88g1zqUjbxDxx9eVO0+Fn2NRqkofCHdeI516dR2BudbGSLMsn 3D3mV9l9IoFUIPNUt491RzQeFBBDhHQmnU8uvVUsPVuUeO90ekt/H3BstFSwNDMfLpHe RkbPgVXDJ85kcWjIFSrX85vNaTnA1uFSrI/F4rtytiR4CI4hxH57P7dJgCUHJ1QVejNv yNdA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=n/w4GmBrC6nYgyddZcQa8iSDrad48wLP9XISGMJFw/4=; b=prUZxexZuCF4bYOBFik6Z1zPI8zXHB1g1u92gbpyNz1YOkhIGQHOXN4fgU0972/elT bpk8GRcIfRu7elimp4RuVXciqBroLXXAiVVhC0MnZdVTOBSkM4yg9Cdry8FQ8AiNJljH dvAmeKrkQaFgQtivdSIxgz1Jo5f6FQGLFYLHqFDstEVW3la6mW+diRtDMUu+LfPpAt6O sEw/8+yFKwjSw26J2vNL39MVnNAbRp5N5H6dRDXGc3oaI4xihSZG5kzD/DiVpA7W+K1x rYe1r+nWLDZB+FV6d1BezpUKhbZIBvBRuIlnsCbXYjQFfz4hwunkRrp6XCh2VC5kUKtT uYZg== X-Gm-Message-State: AFeK/H0PjDO67MBJcf9RamUDdyZqaurTgesjve8n6QS4J4Pr29PVoUfw6ezEJP+4FG10D05m X-Received: by 10.28.224.11 with SMTP id x11mr220587wmg.98.1489503821950; Tue, 14 Mar 2017 08:03:41 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id s18sm15832261wmb.18.2017.03.14.08.03.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Mar 2017 08:03:41 -0700 (PDT) From: Thomas Monjalon To: Raphael Cohn Cc: dev@dpdk.org Date: Tue, 14 Mar 2017 16:03:40 +0100 Message-ID: <4670026.nagok3YegN@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <3819926.kmXSVUIyKQ@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] Compiling DPDK 17.02 with a Busybox-based tar X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 15:03:42 -0000 2017-03-14 14:20, Raphael Cohn: > Why it is surprising that I need to compile DPDK on a system Busybox? > > I currently build DPDK both for my local Alpine Linux system (busybox) > using the system compiler, use busybox for my cross-tools toolchain, and > also use it in Libertine Linux. It means a system using DPDK can be much > more minimal. Likewise, Aboriginal Linux uses Busybox (and, shortly, > Toybox), for similar reasons. It also means users of my rust crate can work > in a wider range of systems than RHEL / Ubuntu. I understand the need for busybox on the target system. I was just saying that generally we use a more complete system on the host building a target. But you are free to use any tool you want :) PS: please reply in-line > On 14 March 2017 at 09:39, Thomas Monjalon > wrote: > > > 2017-03-14 07:58, Raphael Cohn: > > > Hi, > > > > > > To compile DPDK on a system with Busybox tar installed, it's necessary to > > > make a small change to the build system:- > > > > > > sed -i -e '/--keep-newer-files/d' mk/rte.sdkinstall.mk > > > sed -i -e 's;--strip-components=1 \\;--strip-components=1;g' mk/ > > > rte.sdkinstall.mk > > > > > > I'm not sure whether the impact of this change fundamentally affects > > DPDK. > > > I'm a little surprised that tar is needed at all for a compile + install, > > > but I haven't investigated further. Is it being used to do a copy? > > > > Yes it is used to make a copy. > > It is a convenient one-liner. > > > > I am a bit surprised that you need to install DPDK with busybox. > > The busybox systems are generally cross-built and prepared out of the box, > > with the host tools. > > However, if you feel it is important to install DPDK on such target, > > you are welcome to propose a patch. > > > >