diff options
author | Dragomir, Daniel <daniel.dragomir@windriver.com> | 2025-10-03 23:31:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-09 16:46:45 +0100 |
commit | 7bb68e3d06896c05d08c40d89bf5ddd6c30b2bdf (patch) | |
tree | fca17c1600f09ad3e76ca8b5cc30e98acb0349d4 /meta/lib/patchtest/repo.py | |
parent | 9c24203094983d7e5fdd7c5c64fd9f60839d67f5 (diff) | |
download | poky-7bb68e3d06896c05d08c40d89bf5ddd6c30b2bdf.tar.gz |
wic/engine: fix copying directories into wic image with ext* partition
wic uses debugfs to write on ext* partitions, but debugfs can only
write to the current working directory and it cannot copy complete
directory trees. Running 'wic ls' on a copied directory show this:
-l: Ext2 inode is not a directory
Fix this by creating a command list for debugfs (-f parameter) when
recursive parsing the host directory in order to create a similar
directory structure (mkdir) and copy files (write) on each level
into the destination directory from the wic's ext* partition.
(From OE-Core rev: fa811de84af121ff37e2f27f9623bcfcbf66d6d3)
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/repo.py')
0 files changed, 0 insertions, 0 deletions