]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: extract name of package from a repository
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 14 May 2017 21:59:53 +0000 (09:59 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 May 2017 16:44:00 +0000 (17:44 +0100)
commitef73fa70f0955912b0da140922465a3c817424e9
treef911f08fbd2240d953b0151b3fcc6b3e84d2e247
parenteee56a19cda051da6267f808cd3a04a4c644acb3
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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create.py