* summarizing how to create new core images from existing ones [pt 1]
@ 2015-01-07 11:34 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2015-01-07 11:34 UTC (permalink / raw)
To: OE Core mailing list
for purposes of tutorial, i want to clarify the two ways to create
new core images and maybe submit a couple cleanups later (looking at
all the core-image* recipe files under openembedded).
first, there's just "require"ing an existing core-image recipe file
and adding some mods. as an example, core-image-minimal-dev.bb
consists trivially of just:
require core-image-minimal.bb
DESCRIPTION = "A small image just capable of allowing a device to
boot and is suitable for development work."
IMAGE_FEATURES += "dev-pkgs"
as i read it, using this technique, the primary variables you'd
typically set for the new core image recipe (and, really, the
only major ones i've seen) would be:
* DESCRIPTION = "blah blah"
* IMAGE_FEATURES += "additional image features"
* IMAGE_INSTALL += "additional packages"
in addition to those canonical settings, i can see some new recipes
that will simply set specific variables, like this in
core-image-sato-sdk.bb:
QT4PKG = "qt4-pkgs"
QT4PKG_mips64 = ""
beyond that, am i missing anything that might show up in a new
core image recipe file defined this way?
the only curiosity is setting LICENSE in, say, core-image-rt.sdk.bb:
require recipes-core/images/core-image-minimal.bb
... snip ...
LICENSE = "MIT"
given that the underlying core-image-minimal.bb already sets that
LICENSE variable:
LICENSE = "MIT"
i'm assuming that variable setting in the new recipe file is
superfluous, yes? the new core image recipe file will strictly inherit
the underlying license, will it not?
and is there any possibility that a new core image recipe file might
*redefine* the license value of the underlying required file, perhaps
to something more restrictive?
i think that's it for part 1 ...
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-07 11:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 11:34 summarizing how to create new core images from existing ones [pt 1] Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox