From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/6] #11283: wic rm
Date: Fri, 2 Jun 2017 20:19:59 +0300 [thread overview]
Message-ID: <cover.1496423753.git.ed.bartosh@linux.intel.com> (raw)
Hi,
This is an implementation of new wic subcommand 'wic rm'.
It removes files or directories from vfat partitions:
$ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
Volume in drive : is boot
Volume Serial Number is 11D0-DE21
Directory for ::/
libcom32 c32 186500 2017-06-02 15:15
libutil c32 24148 2017-06-02 15:15
syslinux cfg 209 2017-06-02 15:15
vesamenu c32 27104 2017-06-02 15:15
vmlinuz 6926384 2017-06-02 15:15
5 files 7 164 345 bytes
16 582 656 bytes free
$ wic rm ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/libutil.c32
$ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
Volume in drive : is boot
Volume Serial Number is 11D0-DE21
Directory for ::/
libcom32 c32 186500 2017-06-02 15:15
syslinux cfg 209 2017-06-02 15:15
vesamenu c32 27104 2017-06-02 15:15
vmlinuz 6926384 2017-06-02 15:15
4 files 7 140 197 bytes
16 607 232 bytes free
The patchset also contains test case for 'wic rm' functionality.
The following changes since commit 4cf2ac543ee3646332e8dac847d23429b492494c:
image_types_wic: schedule prepare_wic_build correctly (2017-06-02 11:21:49 +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 (6):
wic: add wic_init_parser_rm
wic: add help and usage content for 'wic rm'
wic: add 'wic rm' command
wic: implement removing files
wic: implement removing directories
selftest: add test_wic_rm test case
meta/lib/oeqa/selftest/wic.py | 28 ++++++++++++++++++++
scripts/lib/wic/engine.py | 35 +++++++++++++++++++++++++
scripts/lib/wic/help.py | 59 ++++++++++++++++++++++++++++++++++++++++++-
scripts/wic | 20 +++++++++++++++
4 files changed, 141 insertions(+), 1 deletion(-)
--
2.1.4
next reply other threads:[~2017-06-02 17:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 17:19 Ed Bartosh [this message]
2017-06-02 17:20 ` [PATCH 1/6] wic: add wic_init_parser_rm Ed Bartosh
2017-06-02 17:20 ` [PATCH 2/6] wic: add help and usage content for 'wic rm' Ed Bartosh
2017-06-02 17:20 ` [PATCH 3/6] wic: add 'wic rm' command Ed Bartosh
2017-06-02 17:20 ` [PATCH 4/6] wic: implement removing files Ed Bartosh
2017-06-02 17:20 ` [PATCH 5/6] wic: implement removing directories Ed Bartosh
2017-06-02 17:20 ` [PATCH 6/6] selftest: add test_wic_rm test case Ed Bartosh
2017-06-02 17:31 ` ✗ patchtest: failure for #11283: wic rm 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.1496423753.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.