From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F27AD37B8 for ; Thu, 5 May 2016 15:33:04 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 05 May 2016 06:33:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,582,1455004800"; d="scan'208";a="969363896" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.75]) by orsmga002.jf.intel.com with SMTP; 05 May 2016 06:33:02 -0700 Received: by (sSMTP sendmail emulation); Thu, 05 May 2016 14:33:01 +0025 Date: Thu, 5 May 2016 14:33:01 +0100 From: Bruce Richardson To: Jan Viktorin Cc: dev@dpdk.org, Thomas Monjalon , David Marchand Message-ID: <20160505133300.GA15140@bricha3-MOBL3> References: <1461935496-20367-1-git-send-email-viktorin@rehivetech.com> <1461935496-20367-5-git-send-email-viktorin@rehivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1461935496-20367-5-git-send-email-viktorin@rehivetech.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [RFC 4/4] app/test: support resources archived by tar X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 13:33:05 -0000 On Fri, Apr 29, 2016 at 03:11:36PM +0200, Jan Viktorin wrote: > When needing a more complex resource (a file hierarchy), packing every single > file as a single resource would be very ineffective. For that purpose, it is > possible to pack the files into a tar archive, extract it before test from the > resource and finally clean up all the created files. > > This patch introduces functions resource_untar and resource_rm_by_tar to > perform those tasks. An example of using those functions is included as a test. > > Signed-off-by: Jan Viktorin We might want to make this configurable on/off at build time, since it adds a new dependency for building dpdk - libarchive-devel. /Bruce