Bug 7593

Summary: wic: add a way to compact directdisk images
Product: [Build System, Metadata & Runtime] OE-Core Reporter: João Henrique <joaohf>
Component: deploymentAssignee: Ed Bartosh <eduard.bartosh>
Status: VERIFIED FIXED QA Contact: Daniel Istrate <daniel.alexandrux.istrate>
Severity: enhancement    
Priority: Medium CC: bluelightning, bogdanx.a.voiculescu, Martin.Jansa
Version: unspecified   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description João Henrique 2015-04-09 22:36:58 UTC
Sometimes we need to transfer/keep images created by wic. Usually the images is not so big but along the time this becomes a problem.

An option could be added to wic allowing directdisk to be compacted.

stat directdisk-201504032052-sda.direct (48004096)

after bzip2 we have:

stat directdisk-201504032052-sda.direct.bz2 (9093153)
Comment 1 Aníbal Limón 2015-05-26 20:44:51 UTC
*** Bug 7584 has been marked as a duplicate of this bug. ***
Comment 2 Ed Bartosh 2015-06-23 09:55:37 UTC
Should be done by this patchset: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106389.html
Comment 3 Ed Bartosh 2015-06-29 08:25:58 UTC
Patchset has been merged to master: http://cgit.openembedded.org/openembedded-core/commit/?id=0ffc5c38ef28605abf815a47eb41923802d31df7
Comment 4 Daniel Istrate 2015-09-18 14:42:56 UTC
Verified on master: ea562de57590c966cd5a75fda8defecd397e6436

There are also oe-selftest testcases that verify it.