From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 178725917 for ; Mon, 19 May 2014 12:11:28 +0200 (CEST) Received: by mail-wg0-f46.google.com with SMTP id n12so7509382wgh.17 for ; Mon, 19 May 2014 03:11:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=1vfnpeNyLOWaJlf2Zm3mt/mDFZrbDIpA991F4m94rVQ=; b=Azu7sO8ALUL+g1POHBLerdXcM8xSe+Jo+p4cM8t1qGCcL0t2PhC0pnzaqebuRlwyRO IK48/9fwkWPh9DC3ThqJydxex9Y5dxmdQV9/ZMkx6f098Xwoz9rls9PdngZR9I7s7ihP Y8bocKe4KU8x373DCqIAMJsnDqT2n52ELW4sq1JkGjZWDZWJKNF6eEEyhokJbQtZfn/k 1TEkE6DDs8b7bxVkxYQZxPXvrdRRqDo4aHRM/AT/QNW4rSylufBQwLE+9KGdqGRckWhj 7zHvjCsy1M4SN6Mo9Mm4uXsTw49A2gqFAkKcP+zGGIgjJaYEPaExYtvV+SMWnH1o7OmT yEjg== X-Gm-Message-State: ALoCoQm8LOdrl3RYsDTx+4YT9TZD7z9o9QtX5XjB6Pd1UWN/w/fjs7jIuGlcCGlFpOzbzBRVJA3w X-Received: by 10.180.212.48 with SMTP id nh16mr11983729wic.49.1400494297905; Mon, 19 May 2014 03:11:37 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id b1sm13530649wjb.37.2014.05.19.03.11.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 May 2014 03:11:36 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Date: Mon, 19 May 2014 12:11:35 +0200 Message-ID: <1446205.rSbWAAsRtd@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: <20140513190840.GB31172@hmsreliant.think-freely.org> References: <20140513190840.GB31172@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Heads up: Fedora packaging plans 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: Mon, 19 May 2014 10:11:29 -0000 Hi Neil, Thanks for sharing your progress. My main concerns are about naming and extensions. We must keep "dpdk-core" naming in order to distinguish it from PMD extensions. And then, packaging of memnic and non-uio paravirtualization PMDs (virtio/vmxnet3) are missing. 2014-05-13 15:08, Neil Horman: > My current effort to do so. I've made some changes from the stock spec file > included in dpdk: We should try to get .spec for Fedora and in-tree .spec as common as possible. There are probably some things to push. > * Modified the version and release values to be separate from the name. I > did some reading on requirements for packaging and it seems we can be a bit > more lax with ABI version on a pre-release I think, so I setup the N-V-R to > use pre-release conventions, which makes sense, give that this is a 1.7.0 > pre-release. The git tag on the relase value will get bumped as we move > forward in the patch series. I thought that we should put version in the name, in order to be able to install many versions together. How is it handled by yum? > * Added config files to match desired configs for Fedora (i.e. disabled > PMD's that require out of tree kernel modules It would be clearer to make your configuration changes with "sed -i". In a near future we would probably need a "configure" script to do it. So you don't package igb_uio but you build it because there is no option to disable it currently. We should add such option. > * Moved the package target directories to include N-V of the package in the > path names. This allows for multiple versions of the dpdk to be installed > in parallel (I.e. dpdk-1.7.0 files are in /lib/dpdk-1.7.0, > /usr/include/dpdk-1.7.0, etc). This is how java packages allow for > multiple version installs, and makes sense given ABI instability in dpdk. > It will require that developers add some -I / -L paths to their makefiles > to pull the proper version, but I think thats a fair tradeoff. I don't see version for include directory and bin directory (testpmd). Thanks -- Thomas