All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/8] #11283: wic ls
Date: Mon, 15 May 2017 16:57:31 +0300	[thread overview]
Message-ID: <cover.1494856157.git.ed.bartosh@linux.intel.com> (raw)

Hi,

This is an implementation of new wic subcommand 'wic ls'.

It lists image partitions:

$ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic
Num     Start        End          Size      Fstype
1        1048576     24438783     23390208  fat16
2       25165824     50315263     25149440  ext4

or directory contents of vfat partitions:

$ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/boot
Volume in drive : is boot
 Volume Serial Number is 66EC-5750
Directory for ::/efi/boot

.            <DIR>     2017-05-15  13:00
..           <DIR>     2017-05-15  13:00
grub     cfg       639 2017-05-15  13:00
bootx64  efi    571392 2017-05-15  13:00
        4 files             572 031 bytes
                         15 818 752 bytes free

The patchset also fixes and extends sparse_copy API to support copying part of
the image (one partition) into another image.

It also contains test case for 'wic ls' functionality.

The following changes since commit ef814cc4db9dedad2ad81d756116af238288c2f9:

  create-pull-request: support format-patch options (2017-05-15 14:00:15 +0300)

are available in the git repository at:

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

Ed Bartosh (8):
  filemap: fix skip logic
  filemap: add parameter 'length' to sparse_copy
  bootimg-pcbios: make boot image file unique
  wic: add wic_init_parser_ls
  wic: add help and usage content for 'wic ls'
  wic: add 'wic ls' command
  engine: implement listing wic images
  selftest: add new test case test_wic_ls

 meta/lib/oeqa/selftest/wic.py                    | 18 +++++
 scripts/lib/wic/engine.py                        | 86 +++++++++++++++++++++++-
 scripts/lib/wic/filemap.py                       | 26 +++++--
 scripts/lib/wic/help.py                          | 65 ++++++++++++++++++
 scripts/lib/wic/plugins/source/bootimg-pcbios.py |  2 +-
 scripts/wic                                      | 40 +++++++++++
 6 files changed, 228 insertions(+), 9 deletions(-)

--
Regards,
Ed


             reply	other threads:[~2017-05-15 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15 13:57 Ed Bartosh [this message]
2017-05-15 13:57 ` [PATCH 1/8] filemap: fix skip logic Ed Bartosh
2017-05-15 13:57 ` [PATCH 2/8] filemap: add parameter 'length' to sparse_copy Ed Bartosh
2017-05-15 13:57 ` [PATCH 3/8] bootimg-pcbios: make boot image file unique Ed Bartosh
2017-05-15 13:57 ` [PATCH 4/8] wic: add wic_init_parser_ls Ed Bartosh
2017-05-15 13:57 ` [PATCH 5/8] wic: add help and usage content for 'wic ls' Ed Bartosh
2017-05-15 13:57 ` [PATCH 6/8] wic: add 'wic ls' command Ed Bartosh
2017-05-15 13:57 ` [PATCH 7/8] engine: implement listing wic images Ed Bartosh
2017-05-15 13:57 ` [PATCH 8/8] selftest: add new test case test_wic_ls 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.1494856157.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.