From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/11] This is an implementation of new wic subcommand 'wic cp'.
Date: Thu, 25 May 2017 17:46:17 +0300 [thread overview]
Message-ID: <cover.1495722660.git.ed.bartosh@linux.intel.com> (raw)
Hi,
'wic cp' command copies files and directories to the vfat partition of the wic image.
Here are couple of examples:
Copy file to the root directory of the vfat partition:
$ wic cp test.wks tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
$ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
Volume in drive : is boot
Volume Serial Number is DB4C-FD4C
Directory for ::/
efi <DIR> 2017-05-24 18:15
loader <DIR> 2017-05-24 18:15
startup nsh 26 2017-05-24 18:15
vmlinuz 6926384 2017-05-24 18:15
test wks 628 2017-05-24 21:22
5 files 6 927 038 bytes
15 677 440 bytes free
Copy directory to the efi subdirectory of the vfat partition:
$ wic cp test tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/
$ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/eti/
Volume in drive : is boot
Volume Serial Number is DB4C-FD4C
Directory for ::/efi
. <DIR> 2017-05-24 18:15
.. <DIR> 2017-05-24 18:15
boot <DIR> 2017-05-24 18:15
test <DIR> 2017-05-24 21:27
4 files 0 bytes
15 675 392 bytes free
The patchset also contains fixes for sparse_copy bugs discuvered in the
process of working on 'wic cp' functionality.
It also contains test case for 'wic cp' command.
The following changes since commit ae4b01e75618030f3fa0a592c6dffddb2fdab3b5:
selftest: add new test case test_wic_ls (2017-05-25 17:30:03 +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 (11):
wic: add wic_init_parser_cp
wic: add help and usage content for 'wic cp'
wic: add 'wic cp' command
wic: add Disk._prop helper
wic: add mcopy property
filemap: change signature of sparse_copy function
filemap: check if dest is written for every block
filemap: calculate dst size correctly
wic: add Disk._put_part_image method
wic: fully implement 'wic cp'
selftest: add test_wic_cp test case
meta/lib/oeqa/selftest/wic.py | 46 +++++++++++++++++++++++-
scripts/lib/wic/engine.py | 41 ++++++++++++++++++---
scripts/lib/wic/filemap.py | 28 ++++++++++++---
scripts/lib/wic/help.py | 62 ++++++++++++++++++++++++++++++++
scripts/lib/wic/plugins/imager/direct.py | 2 +-
scripts/wic | 29 +++++++++++++++
6 files changed, 197 insertions(+), 11 deletions(-)
--
Regards,
Ed
next reply other threads:[~2017-05-25 14:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 14:46 Ed Bartosh [this message]
2017-05-25 14:46 ` [PATCH 01/11] wic: add wic_init_parser_cp Ed Bartosh
2017-05-25 14:46 ` [PATCH 02/11] wic: add help and usage content for 'wic cp' Ed Bartosh
2017-05-25 14:46 ` [PATCH 03/11] wic: add 'wic cp' command Ed Bartosh
2017-05-25 14:46 ` [PATCH 04/11] wic: add Disk._prop helper Ed Bartosh
2017-05-25 14:46 ` [PATCH 05/11] wic: add mcopy property Ed Bartosh
2017-05-25 14:46 ` [PATCH 06/11] filemap: change signature of sparse_copy function Ed Bartosh
2017-05-25 14:46 ` [PATCH 07/11] filemap: check if dest is written for every block Ed Bartosh
2017-05-25 14:46 ` [PATCH 08/11] filemap: calculate dst size correctly Ed Bartosh
2017-05-25 14:46 ` [PATCH 09/11] wic: add Disk._put_part_image method Ed Bartosh
2017-05-25 14:46 ` [PATCH 10/11] wic: fully implement 'wic cp' Ed Bartosh
2017-05-25 14:46 ` [PATCH 11/11] selftest: add test_wic_cp test case Ed Bartosh
2017-05-25 15:01 ` ✗ patchtest: failure for This is an implementation of new wic subcommand 'wic cp' Patchwork
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.1495722660.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