Bug 12189 - wic cp should support recursive copies
Summary: wic cp should support recursive copies
Status: IN PROGRESS DOCUMENTATION
Alias: None
Product: Wic
Classification: Yocto Project Subprojects
Component: wic (show other bugs)
Version: v0.3.0
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: v0.3.0
Assignee: Trevor Woerner
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-05 01:49 UTC by brian avery
Modified: 2026-05-28 15:27 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian avery 2017-10-05 01:49:07 UTC
One of the things you would commonly want to cp into a wic image using wic cp is lib/modules/kernel-version.  This would require a recursive copy.
e.g. 
wic cp modules--4.x.x/ wicimage:/lib/modules/
Comment 1 Randy MacLeod 2023-10-24 14:24:41 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 2 Trevor Woerner 2026-03-12 20:58:21 UTC
the following commits from Daniel Dragomir in oe-core add this feature:

1ed38aff5f81 ("wic/engine: fix copying directories into wic image with ext* partition")
6de3d2602f4f ("oeqa/selftest/wic: test recursive dir copy on ext partitions")
cb536737be ("wic/engine: error on old host debugfs for standalone directory copy")

I need to verify the docs/help have been updated.
Comment 3 Randy MacLeod 2026-03-13 14:46:32 UTC
Since Trevor W is checking on the docs, assign to him. Thanks.