[OE-core] [PATCH 02/28] classes/core-image: remove *_IMAGE_FEATURES variables

Paul Eggleton paul.eggleton at linux.intel.com
Tue Sep 4 08:30:28 UTC 2012


On Monday 03 September 2012 19:33:34 Saul Wold wrote:
> > -IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}"
> > +IMAGE_FEATURES += "apps-console-core package-management x11-base
> > apps-x11-core apps-x11-games x11-sato ssh-server-dropbear"
>
> Should package-management be here or should it be a DISTRO_FEATURE and
> have the ability to be enabled or disabled more on DISTRO basis?  I know
> that we explicitly disable it on core-image-minimal and have a
> ROOTFS_POSTPRESSES_COMMAND there, but I wonder about setting that up on
> a DISTRO basis?

DISTRO_FEATURES are usually items that influence changes at compilation time. I 
think it's also reasonable to expect people want to be able to produce images 
that have package management for development/testing/debugging and those that 
don't for production, side-by-side, in which case it has to be in 
IMAGE_FEATURES (especially as changing DISTRO_FEATURES on the fly will result 
in a lot of recompilation).

> It's part of the following:
> 
> meta/recipes-core/images/build-appliance-image.bb
> meta/recipes-graphics/images/core-image-clutter.bb
> meta/recipes-graphics/images/core-image-x11.bb
> meta/recipes-sato/images/core-image-sato.bb
> 
> What about LSB? core-image-base or core-image-basic?

The latter images never had package management enabled; I think core-image-
basic at least could reasonably have package management enabled though since 
it's meant to produce a more fully-featured Linux system (mental note, still 
need to rename some of those images). AIUI, LSB doesn't require full package 
management to be enabled, only that rpm packages are able to be installed; 
installing rpm should satisfy this. We would only want to enable full package 
management in the LSB images if it was in some way helpful to run the LSB 
tests.

I'm not entirely sure how we ended up with package management in the Sato 
images and not with some of the others - perhaps there was at one time a 
package management application within Sato or plans for one?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list