]> code.ossystems Code Review - openembedded-core.git/commit
wic: Continue if excluded_path does not exist
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Sun, 19 Apr 2020 06:35:32 +0000 (08:35 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Apr 2020 12:58:45 +0000 (13:58 +0100)
commit2dbd692b8e563cf991fb4ae1ef6129fda0d7e3c4
tree6e4bb32b72cd0e26d9252a1daebd131e48f2012c
parent2265d089a58e1f78f26d623ee667c420cb1c3bd4
wic: Continue if excluded_path does not exist

If an excuded path does not exist, continue without an error.
This allows to seamleasly reuse .wks among different projects.

Eg:

part / --source rootfs --fstype=ext4 --exclude-path=opt/private_keys

Where /opt/private_keys in only populated by some of the image.bb files.

Cc: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/rootfs.py