Re: [OE-core] [PATCH 3/4] tar: upgrade to v1.26

2011-06-06 Thread Phil Blundell
On Sun, 2011-06-05 at 21:49 -0700, Scott Garman wrote:
  SECTION = base
 +PRIORITY = optional

Seeing this sort of thing makes me wonder whether SECTION and PRIORITY
actually belong in the core metadata at all.  It seems as though the
determination of what exactly is standard vs optional is a matter of
distro policy and this would be better done in the distro config files.

Also, just on a pragmatic issue, the two values above are actually what
bitbake.conf sets as default anyway so there isn't much to be gained by
specifying them in the recipe as well.

p.



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/4] tar: upgrade to v1.26

2011-06-06 Thread Richard Purdie
On Mon, 2011-06-06 at 09:00 +0100, Phil Blundell wrote:
 On Sun, 2011-06-05 at 21:49 -0700, Scott Garman wrote:
   SECTION = base
  +PRIORITY = optional
 
 Seeing this sort of thing makes me wonder whether SECTION and PRIORITY
 actually belong in the core metadata at all.  It seems as though the
 determination of what exactly is standard vs optional is a matter of
 distro policy and this would be better done in the distro config files.
 
 Also, just on a pragmatic issue, the two values above are actually what
 bitbake.conf sets as default anyway so there isn't much to be gained by
 specifying them in the recipe as well.

I have to admit I keep wondering about these.

PRIORITY does seem a bit of a pointless variable in the default metadata
and I'm borderline in favour of dropping it and leaving it to any
distros who want to use it, maybe sharing an include file.

SECTION does at least start to become useful in an image generation UI
as a way to group packages roughly by type which makes me think it has a
good default usecase (and OE-Core did clean up the values of it to at
least be consistent).

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core