Bug 7593 - wic: add a way to compact directdisk images
Summary: wic: add a way to compact directdisk images
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9
Assignee: Ed Bartosh
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-09 22:36 UTC by João Henrique
Modified: 2015-09-18 14:42 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.