| Summary: | Have wic split the rootfs filesystem and distribute specified subdirectories to different partitions | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Kristian Amlie <kristian.amlie> |
| Component: | Scripts and Tools | Assignee: | Kristian Amlie <kristian.amlie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | eduard.bartosh, kristian.amlie, maciek.borzecki, mariano.lopez, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Kristian Amlie
2016-11-23 14:18:07 UTC
On the mailing list, Maciej Borzecki pointed out that --exclude-dir may be a bad name since we do still want to the directory to be present. Can I suggest --exclude-content-of instead? It makes thanks for me. Thanks for pointing out. What about a bit shorter name --exclude-content ? --exclude-content it is! Latest proposal is to use this syntax to exclude content or directories: --exclude-path data/* - exclude content, but keep the directory --exclude-path data - exclude directory and content --exclude-path data/tmp/t* - exclude files and directories that match wildcard --exclude-path data/db/tmp - exclude subdirectory and its content Looks good to me. I'm still awaiting consensus on the mailing list, but I can start with the heart of the problem and make adjustments later. I'll get started on this tomorrow. After further discussion on mailing list, latest proposal is to use rsync-style: --exclude-path data/ - exclude content, but keep the directory --exclude-path data - exclude directory and content --exclude-path data/db/tmp/ - exclude subdirectory content only --exclude-path data/db/tmp - exclude subdirectory and its content This doesn't necessarily invalidate the earlier glob proposal, but I will not focus on that in the first iteration at least. Reassigning to Kristian as he'll be implementing this. This is likely to be merged soon, but there was talk about having an exclude option for the do_image_ext4 and similar functions as well, in addition to wic. We are going to need both in Mender. Should this ticket cover that or should I make a new one? Setting milestone to "Future" for now. This is ready to be merged, but I don't know when the maintainers will do that. It might need a rebase, but I'll look at that after the sysroot issues have died down a bit, I don't think anyone has any spare cycles ATM. Cristian, can you rebase your changes on top of recent master and send them again for review? I'll try to push maintainers to merge them. Thanks, Ed. I will repost shortly, I just need to retest them with the latest poky. Rebased and retested patchset here: http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132280.html Kristian, thank you! I'll try to make sure your patchset is merged this time. the patchset has been merged to master. Thank you, Ed! |