diff options
author | Eugene Smirnov <eu.smirnoff@gmail.com> | 2019-10-18 13:16:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-19 23:18:33 +0100 |
commit | 8d619931eecd40c952c16864a4dc4f4dae2a0c63 (patch) | |
tree | 6d402c4ca9c1da062fa2d691ff362d194f3d0766 /scripts/lib/devtool | |
parent | c8535ece54fea0f8d3226666799611825587dbdf (diff) | |
download | poky-8d619931eecd40c952c16864a4dc4f4dae2a0c63.tar.gz |
wic/rawcopy: Support files in sub-directories
If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.
This patch helps to avoid that by recursively creating
parent directories.
(From OE-Core rev: 073c435644091c2801e45c6d02afa917de575082)
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool')
0 files changed, 0 insertions, 0 deletions