From: Tom Zanussi <tom.zanussi@linux.intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] wic: Initial code for wic (OpenEmbedded Image Creator)
Date: Fri, 27 Sep 2013 09:21:39 -0500 [thread overview]
Message-ID: <1380291699.31937.46.camel@empanada> (raw)
In-Reply-To: <CAP9ODKpYNSJs-T=GTpa725A6GK32GykgPbv7w5KeiwPhXVLfzw@mail.gmail.com>
Hi Otavio,
On Fri, 2013-09-27 at 11:01 -0300, Otavio Salvador wrote:
> Hello Tom,
>
> On Thu, Sep 26, 2013 at 11:17 PM, Tom Zanussi
> <tom.zanussi@linux.intel.com> wrote:
> > 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@linux.intel.com>
>
> Could you please elaborate why to make a new command instead of using
> the class system?
>
This isn't an either/or thing - the initial requirements were that the
overall deployment effort end up being something that would be usable
both from an external tool as well as from within the class system.
This just happens to be the initial (easier) part of that, the external
tool, and I expect in 1.6 to be doing a lot of the harder part,
integration with the build system.
The most important part, I think, is that this provides a high-level
user-oriented 'language' (the kickstart files) that users can use to
define custom images, rather than having to muck around in class files
or variable settings, or write specialized scripts such as mkefidisk.sh
for example.
Making that available from a standalone tool such as 'wic' is
straightforward, doing the same from within the build system will
require more thought and work, but that's what I'm hoping to do in
1.6...
Tom
next prev parent reply other threads:[~2013-09-27 14:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 2:17 [PATCH 0/3] 'wic'- OpenEmbedded Image Creator Tom Zanussi
2013-09-27 2:17 ` [PATCH 1/3] wic: Initial code for wic (OpenEmbedded Image Creator) Tom Zanussi
2013-09-27 14:01 ` Otavio Salvador
2013-09-27 14:21 ` Tom Zanussi [this message]
2013-09-28 12:17 ` David Nyström
2013-09-30 1:11 ` Tom Zanussi
2013-09-30 12:58 ` David Nyström
2013-09-30 15:15 ` Tom Zanussi
2013-09-27 2:17 ` [PATCH 2/3] wic: Add mic w/pykickstart Tom Zanussi
2013-09-27 2:17 ` [PATCH 3/3] wic: Add OpenEmbedded-specific implementation Tom Zanussi
2013-09-27 6:48 ` [PATCH 0/3] 'wic'- OpenEmbedded Image Creator David Nystrom
2013-09-27 13:32 ` Tom Zanussi
2013-09-28 17:10 ` Trevor Woerner
2013-09-30 1:18 ` Tom Zanussi
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=1380291699.31937.46.camel@empanada \
--to=tom.zanussi@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
/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