Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 0/8] #11278 - wic: create an option to use entire disk
Date: Fri, 25 Aug 2017 23:12:21 +0300	[thread overview]
Message-ID: <cover.1503691753.git.ed.bartosh@linux.intel.com> (raw)

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



             reply	other threads:[~2017-08-25 20:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 20:12 Ed Bartosh [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1503691753.git.ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox