diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-22 15:19:56 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:39:11 +0000 |
commit | d008867e45b276e69da43adaed93a668800cccf3 (patch) | |
tree | 797095984140f8022a0dc3fce76cbf6acfad5005 /oe-init-build-env-memres | |
parent | fff7563799f7ea049c290fc04484f96b69a744ca (diff) | |
download | poky-d008867e45b276e69da43adaed93a668800cccf3.tar.gz |
classes/package_rpm: handle square brackets in filenames
When constructing a spec file we list files and directory paths in the
%files section. If ] or [ characters are in a file or directory name,
rpm treats them as wildcards which will mean it won't properly match the
filename. Instead, transform these into an ? wildcard so they don't
cause a problem.
(This fixes packaging the npm package "file-set" and anything that
happens to depend upon it, since it includes tests with files that
contain unusual characters including ] and [).
(From OE-Core rev: f95adb749619e70920c6cc6cd01c6d02cd348fd8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env-memres')
0 files changed, 0 insertions, 0 deletions