aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-22 15:19:58 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-09 13:27:00 +0000
commitfd8a57861024fc82e15a2a4ec8c20ed0ebb242f6 (patch)
tree1481697a1026dede8ba1a2f5c71fc02d1e01df9c /.gitignore
parentf95adb749619e70920c6cc6cd01c6d02cd348fd8 (diff)
downloadopenembedded-core-fd8a57861024fc82e15a2a4ec8c20ed0ebb242f6.tar.gz
classes/sstate: handle filenames containing square brackets
If a recipe installs a file or directory whose name contains square brackets [ ] that form a valid glob expression and that file then they won't be correctly removed from the sysroot, because we pass each path in the sstate manifest to our oe.path.remove() function which calls glob.glob() on the path passed into it and the expression won't actually match the original filename. Since we don't expect to put any wildcarded expressions in the sstate manifests, and we already have a try...except around this, we can actually use os.remove() here instead. Similarly, when we pass existing file paths to "grep" looking through the manifests, we don't want those paths to be treated as regexes - so use grep's -F command line switch. Fixes [YOCTO #10836]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions