Bug 12189

Summary: wic cp should support recursive copies
Product: [Yocto Project Subprojects] Wic Reporter: brian avery <brian.avery>
Component: wicAssignee: Trevor Woerner <twoerner>
Status: IN PROGRESS DOCUMENTATION --- QA Contact:
Severity: enhancement    
Priority: Medium+ CC: kexin.hao, randy.macleod, ross.burton, stephano, twoerner
Version: v0.3.0   
Target Milestone: v0.3.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

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.