Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/8] #11278 - wic: create an option to use entire disk
@ 2017-08-25 20:12 Ed Bartosh
  2017-08-25 20:12 ` [PATCH v2 1/8] wic: reimplement getting paths of used tools Ed Bartosh
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Ed Bartosh @ 2017-08-25 20:12 UTC (permalink / raw)
  To: openembedded-core

Hi,

This patchset implements wic write [--expand auto|<partnum>:<size>]
subcommand to write partitioned image to the target media or file with the optional
possibility to expand partitions to either fill the target media(--expand auto)
or using specified partition sizes (--expand <partnum>:<size>)

'wic write' uses bmaptool API, so it's much faster than dd.
It doesn't require root privileges, just write permissions for the target file or
device.

'wic write' can also be used to flash unpartitioned images.

Changes in v2:
 squashed 'wic write' implementation in one commit
 fixed typo in commit message

The following changes since commit a087e0bc765ade6386720f22d842e2fc0bd5f128:

  maintainers.inc: assign newly added recipes (2017-08-24 16:49:57 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/wip
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wip

Ed Bartosh (8):
  wic: reimplement getting paths of used tools
  wic: get more info from the 'parted print' output
  wic: convert partition number to int
  wic: added 'fstypes' parameter to Disk.__init__
  wic: extend list of used tools
  wic: implement 'wic write' command
  wic: always read image partitions
  wic: setlftest: test expanding MBR image

 meta/lib/oeqa/selftest/cases/wic.py |  53 +++++++++
 meta/recipes-core/meta/wic-tools.bb |   3 +-
 scripts/lib/wic/engine.py           | 210 ++++++++++++++++++++++++++++++------
 scripts/lib/wic/help.py             |  40 +++++++
 scripts/wic                         |  55 ++++++++++
 5 files changed, 326 insertions(+), 35 deletions(-)

-- 
2.1.4



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-25 20:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 20:12 [PATCH v2 0/8] #11278 - wic: create an option to use entire disk Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 1/8] wic: reimplement getting paths of used tools Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 2/8] wic: get more info from the 'parted print' output Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 3/8] wic: convert partition number to int Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 4/8] wic: added 'fstypes' parameter to Disk.__init__ Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 5/8] wic: extend list of used tools Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 6/8] wic: implement 'wic write' command Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 7/8] wic: always read image partitions Ed Bartosh
2017-08-25 20:12 ` [PATCH v2 8/8] wic: setlftest: test expanding MBR image Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox