]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: extract name of package from a repository paule/recipetool-fixes8
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 21 Apr 2017 02:51:24 +0000 (14:51 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 14 May 2017 21:58:31 +0000 (09:58 +1200)
commit7347a6b8ad71cf93639126b5e99986ccaf17e4cc
tree4f449a7839c7f8768072b6be409a019b7e2dae0a
parent3e4f2fa598a5061215315f53dc2086718cce295d
recipetool: create: extract name of package from a repository

For git repositories in the absence of any other indicator, it's not an
unreasonable assumption that the name of the repository is the name of
the software package it contains, so use that as PN if we don't have
anything else.

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