[OE-core] Consistency and use cases for IMAGE_FSTYPES

Tom Rini tom.rini at gmail.com
Thu Mar 22 21:40:28 UTC 2012


On Mon, Mar 12, 2012 at 04:25:24PM -0400, Denys Dmytriyenko wrote:
> On Sat, Mar 10, 2012 at 07:29:20AM +0100, Koen Kooi wrote:
> > 
> > Op 9 mrt. 2012, om 22:39 heeft Tom Rini het volgende geschreven:
> > 
> > > Hey all,
> > > 
> > > Over in meta-ti I kicked off a discussion
> > > (https://lists.yoctoproject.org/pipermail/meta-ti/2012-March/000779.html)
> > > about if we should be using '?=' or '+=' with IMAGE_FSTYPES in the
> > > machine conf files.  This has been discussed a little bit before
> > > (http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/2060/focus=2061).
> > > The problem is we have the following and I believe ultimately
> > > conflicting use cases:
> > > - The machine needs to say 'I need or support the following formats'
> > > - The distro needs to say 'I always want format X'
> > > - The user needs to say 'I know best, give me only format X'
> > > - The user needs to say 'I know best, give me what you support + X'
> > > 
> > > We achieve this today, but not very nicely.  For the last one you need
> > > to start playing order of operations games and that's just not nice.
> > > My suggestion is that we need to change what the machine.conf sets to
> > > another variable (SOMETHING_IMAGE_FSTYPES), and a default
> > > IMAGE_FSTYPES becomes ?= ${SOMETHING_IMAGE_FSTYPES}.  Distros, and
> > > users can then work more easily with their use cases.  Comments?
> > 
> > EXTRA_IMAGE_FSTYPES!
> 
> +1
> 
> MACHINE_IMAGE_FSTYPES + DISTRO_IMAGE_FSTYPES? jk :)

Having gotten no other feedback (*cough*) I'll post a patch for
SOMETHING_IMAGE_FSTYPES (I'm leaning MACHINE_IMAGE_FSTYPES, sorry Koen :))
sometime tomorrow I think.

-- 
Tom




More information about the Openembedded-core mailing list