diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-03 17:02:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-14 16:55:24 +0100 |
commit | 567754acb80e5d1c6cabdb1dae1ea4fbea80e52a (patch) | |
tree | a88825e3bcb0187a6865d88de5c38e63c99859f7 /meta/files/common-licenses/CDDL-1.0 | |
parent | 029b0fef50fb118d4e09ac042338621d19a95bc8 (diff) | |
download | poky-567754acb80e5d1c6cabdb1dae1ea4fbea80e52a.tar.gz |
classes/package: handle filenames containing wildcards
It is uncommon, but it is possible for upstream sources to contain files
that have wildcard characters in their names (Webmin is an example).
Because we were running glob.glob() on every entry in the list of
entries in FILES and then adding the result to the files list to be
processed, the process would loop infinitely if files whose names
contained wildcard characters were present. Fix this by avoiding
re-processing the output of glob.glob() with itself, and also "escape"
wildcard characters in FILES entries added automatically from
do_split_packages().
Fixes [YOCTO #1676].
(From OE-Core rev: 1aa3fbb547b0e21455f0dcc9b72ded08dc0efd67)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/common-licenses/CDDL-1.0')
0 files changed, 0 insertions, 0 deletions