]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add: use the appropriate file naming and versioning for SCM recipes
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 28 Apr 2015 16:07:31 +0000 (17:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 May 2015 16:08:10 +0000 (17:08 +0100)
commit2b997c41c6476a13bf516586d56a9051aceb93ec
tree20d49cccf4ece7fbb46be7cc862a94e3e74dc383
parentf22fd77e735fc5f4a3434e3d1f567a9d7d191cf4
devtool: add: use the appropriate file naming and versioning for SCM recipes

* Recipes that fetch from git, svn or hg by OpenEmbedded convention
  should normally be named with this as a suffix, since PV is meant to
  be set appropriately within the recipe, so follow this. In order to
  make this work we need to be able to have the version independent from
  the file name, so add a -V option to recipetool create to allow this
  to be specified.
* If -V is specified on the devtool add command line, ensure at PV gets
  set to include this version.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/devtool/standard.py
scripts/lib/recipetool/create.py