Skip to content

#11278 - wic: create an option to use entire disk

Ed Bartosh openembedded-core 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v110 patches 2 repliesSuperseded

Changes in v2 from the cover letter

squashed 'wic write' implementation in one commit fixed typo in commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8wic: reimplement getting paths of used toolsscripts/lib/wic/engine.py+9 -270 replies
2/8wic: get more info from the 'parted print' outputscripts/lib/wic/engine.py+8 -10 replies
3/8wic: convert partition number to intscripts/lib/wic/engine.py+2 -20 replies
4/8wic: added 'fstypes' parameter to Disk.__init__scripts/lib/wic/engine.py+7 -20 replies
5/8wic: extend list of used toolsmeta/recipes-core/meta/wic-tools.bb scripts/lib/wic/engine.py+4 -20 replies
6/8wic: implement 'wic write' commandscripts/lib/wic/engine.py scripts/lib/wic/help.py scripts/wic+241 -00 replies
7/8wic: always read image partitionsscripts/lib/wic/engine.py+3 -20 replies
8/8wic: setlftest: test expanding MBR imagemeta/lib/oeqa/selftest/cases/wic.py+53 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] #11278 - wic: create an option to use entire disk

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(-)
Signature · 1 line
2.1.4