[oe-commits] Tom Zanussi : wic: Initial code for wic (OpenEmbedded Image Creator)

git at git.openembedded.org git at git.openembedded.org
Tue Oct 1 21:43:56 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 95455ae4251e06d66e60945092b784d2d9ef165c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=95455ae4251e06d66e60945092b784d2d9ef165c

Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date:   Tue Aug 20 20:55:16 2013 +0000

wic: Initial code for wic (OpenEmbedded Image Creator)

Initial implementation of the 'wic' command.

The 'wic' command generates partitioned images from existing
OpenEmbedded build artifacts.  Image generation is driven by
partitioning commands contained in an 'Openembedded kickstart' (.wks)
file specified either directly on the command-line or as one of a
selection of canned .wks files (see 'wic list images').  When applied
to a given set of build artifacts, the result is an image or set of
images that can be directly written onto media and used on a
particular system.

'wic' is based loosely on the 'mic' (Meego Image Creator) framework,
but heavily modified to make direct use of OpenEmbedded build
artifacts instead of package installation and configuration, things
already incorporated int the OE artifacts.

The name 'wic' comes from 'oeic' with the 'oe' diphthong promoted to
the letter 'w', because 'oeic' is impossible to remember or pronounce.

This covers the mechanics of invoking and providing help for the
command and sub-commands; it contains hooks for future commits to
connect with the actual functionality, once implemented.

Help is integrated into the 'wic' command - see that for details on
usage.

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/image/__init__.py |   22 +++
 scripts/lib/image/engine.py   |  256 +++++++++++++++++++++++++++++++++
 scripts/lib/image/help.py     |  311 +++++++++++++++++++++++++++++++++++++++++
 scripts/wic                   |  185 ++++++++++++++++++++++++
 4 files changed, 774 insertions(+), 0 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=95455ae4251e06d66e60945092b784d2d9ef165c


More information about the Openembedded-commits mailing list