diff options
| author | Dragomir, Daniel <daniel.dragomir@windriver.com> | 2025-10-03 23:31:30 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2026-02-27 17:45:06 +0000 |
| commit | 6c2a243d6cfb8277324904ab6b29e4e69ef68e21 (patch) | |
| tree | 35b0c43d59aa6f54a8e35e0535ace8c39ce127bb /meta | |
| parent | df890007b4a1f15504f839d62458da0bad65137e (diff) | |
| download | poky-6c2a243d6cfb8277324904ab6b29e4e69ef68e21.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: 67f08884b98576c06db8db01b093ebeee760aba0)
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>
(cherry picked from commit 1ed38aff5f810d064c87aff9cbd310906833b6ba)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions
