diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-04-27 10:53:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-27 15:05:52 +0100 |
commit | f1f9fab266503eb81aa624b98b8577e5fe3ad5b6 (patch) | |
tree | 7620364f9f825d6d58dd0b2c98d96715e1689d0e /scripts/devtool | |
parent | ca1f4d7279417cbfb1966c27311a5e39d571d742 (diff) | |
download | poky-f1f9fab266503eb81aa624b98b8577e5fe3ad5b6.tar.gz |
devtool: handle . in recipe name
Names such as glib-2.0 are valid (and used) recipe names, so we need to
support them.
Fixes [YOCTO #7643].
(From OE-Core rev: b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/devtool b/scripts/devtool index 981ff515d3..841831c410 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -101,7 +101,7 @@ def read_workspace(): | |||
101 | _create_workspace(config.workspace_path, config, basepath) | 101 | _create_workspace(config.workspace_path, config, basepath) |
102 | 102 | ||
103 | logger.debug('Reading workspace in %s' % config.workspace_path) | 103 | logger.debug('Reading workspace in %s' % config.workspace_path) |
104 | externalsrc_re = re.compile(r'^EXTERNALSRC(_pn-[a-zA-Z0-9-]*)? =.*$') | 104 | externalsrc_re = re.compile(r'^EXTERNALSRC(_pn-[^ =]+)? =.*$') |
105 | for fn in glob.glob(os.path.join(config.workspace_path, 'appends', '*.bbappend')): | 105 | for fn in glob.glob(os.path.join(config.workspace_path, 'appends', '*.bbappend')): |
106 | pn = os.path.splitext(os.path.basename(fn))[0].split('_')[0] | 106 | pn = os.path.splitext(os.path.basename(fn))[0].split('_')[0] |
107 | with open(fn, 'r') as f: | 107 | with open(fn, 'r') as f: |