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-10 17:42:08 +0100 |
commit | 4340a5aa6e3713b1519a32f772e5726f4a782095 (patch) | |
tree | 59219dc95030a204c74ab17c16d72091855c4530 /scripts/lib/argparse_oe.py | |
parent | 382dc016cd669587e47aae373caa02ed809e88d7 (diff) | |
download | poky-4340a5aa6e3713b1519a32f772e5726f4a782095.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: d7e07270069f465e4a73a26f63995984e6b3b999)
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 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions