From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by dpdk.org (Postfix) with ESMTP id 5FDD42C49 for ; Tue, 14 Mar 2017 15:20:54 +0100 (CET) Received: by mail-it0-f67.google.com with SMTP id 14so28731itw.2 for ; Tue, 14 Mar 2017 07:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormmq-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NjuETZ7GCk29FzWz17lrBEs1lLvMERMQOsjg2lilGSs=; b=gIFR2Kj3AUpE1XGmLgSO2TYTn+/BSFzH8DQtXRrLxMiqyUkG6HUTjGRuSZ328v5FeL DpsL2W7UExkW0t1Vnht5oK4NwZK091cn+mjYuxWinSJqTjgl148mUSZGBi2ENvO+6ZQ3 q3PRSrQL5jViONiixu6jzVevv3HrYrSTJUTKfQGthPrLnABpwIZA9+WY9ogbP4mgD0Xy RxI2y2o5K1wgNgGEvfNuwlaXFuivRmFA4sbFu9QfWZKGDoQMhLSBxDgnNvZ31G1tsEsM UOCvK7MN21EeE90XJHO08yE35r5ZPDYxRDEht2cloRxBrhhxPbbFFkyekr9RJQVEvo6I +SrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NjuETZ7GCk29FzWz17lrBEs1lLvMERMQOsjg2lilGSs=; b=Oym7gAsBC4D0/6k0J1AjKJ40OrhOsPZ7WobdgiGCM22VT+oqkJ4rc60kAGM5OiTTHu dxtRZEgBBnZlCB5ajsXu0fQ6Wzp8bZWpUIw22C6ZqaBCeQWOREy8R+V9pptTr3KFKTus /AqLmNyDspvpu37Q+nzdJ6peZ8rHr82yzHyXZ/JwUcZ5OMu7xJcJmjDrRsSyuwcQj50O baTvv7VWC5Xw9lPMDA1PNTwulTrUpk8lAz1OoNKxg+GgpFbt4EbldBKZC9GN+rX54ZJb xyBM+NiUlgtgRDAJ22rzJdxYcNDhqEKfPKJHqwwEHpK4/pFiFX+FU2MhgZckc7eyNCB1 nH6w== X-Gm-Message-State: AFeK/H36GXrcstrM9YjiCRliK97JA8M+hSTAN0CRm59xIadiGvkqgsWmo55EMPnHWJxg2ZR3Vziq3tSCE1zD+w== X-Received: by 10.36.82.82 with SMTP id d79mr15981301itb.29.1489501253456; Tue, 14 Mar 2017 07:20:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.101.3 with HTTP; Tue, 14 Mar 2017 07:20:52 -0700 (PDT) X-Originating-IP: [185.94.189.170] In-Reply-To: <3819926.kmXSVUIyKQ@xps13> References: <3819926.kmXSVUIyKQ@xps13> From: Raphael Cohn Date: Tue, 14 Mar 2017 14:20:52 +0000 Message-ID: To: Thomas Monjalon Cc: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 14:20:54 -0000 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. 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. > >