]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/recipeutils: check in validate_pn() for names instead of filenames
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Nov 2015 01:15:55 +0000 (14:15 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:55 +0000 (21:30 +0000)
commita4c6af737811adb2bca87e3896f8710738dd255e
tree3eff1e84956c60702660967d471ce5356e2892d7
parenta30b407474d4eb6620f1ec549b54187ebbaff008
lib/oe/recipeutils: check in validate_pn() for names instead of filenames

Ensure that the user specifies just the name portion instead of a file
name with extension. (We can't just look for . since there are recipe
names such as "glib-2.0" that legitimately contain .).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/recipeutils.py