summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/utils/cmdln.py
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2015-03-27 14:53:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-29 23:07:18 +0100
commit8ea63c6c920c39e5a4ba176223fe472f92e2632a (patch)
tree358ff6e8e782fbece51bd5eb2735989fee0e6d82 /scripts/lib/wic/utils/cmdln.py
parentf8cdbe749755dc769150d3a6c2c54318c80e1562 (diff)
downloadopenembedded-core-8ea63c6c920c39e5a4ba176223fe472f92e2632a.tar.gz
openembedded-core-8ea63c6c920c39e5a4ba176223fe472f92e2632a.tar.bz2
openembedded-core-8ea63c6c920c39e5a4ba176223fe472f92e2632a.zip
combo-layer: fix file_exclude for dest_dir = .
"filterdiff -x ./some/file" does not remove changes for some/file. We must be more careful about constructing the path name and only add the prefix when it really means a directory. While at it, also better normalize the path in copy_selected_files() early on, to handle double slashes. Useful should the function ever gets used for something other that dest_dir (which gets normalized in sanity_check()). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils/cmdln.py')
0 files changed, 0 insertions, 0 deletions