summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/repo.py
diff options
context:
space:
mode:
authorDragomir, Daniel <daniel.dragomir@windriver.com>2025-10-03 23:31:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-09 22:05:17 +0100
commit1021479061155a119c743ee2fcef2e348847507c (patch)
treebf9ed839f9b5bb4ded2a085dfad72fce328c0b9b /meta/lib/patchtest/repo.py
parentf988339ba7fa8d42ab954f8dcd2f4540697f7eca (diff)
downloadpoky-1021479061155a119c743ee2fcef2e348847507c.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