[Openembedded-architecture] OEDEM - Setup program
Christopher Larson
clarson at kergoth.com
Tue Nov 22 22:50:26 UTC 2016
On Tue, Nov 22, 2016 at 3:38 PM, Trevor Woerner <twoerner at gmail.com> wrote:
> On Tue 2016-11-22 @ 10:20:58 AM, Mark Hatle wrote:
> > >> Then search "layerItems.json" for records where "layer_type":"D"
> > >>
> > >> # choose a distro layer
> > >> choices = []
> > >> distroLines = sorted(layerItems, key=lambda k: k["name"])
> > >> distroLines = filter(lambda x: x["layer_type"] == "D", distroLines)
> > >> choices.append(("nodistro", "The distro-less distro"))
> > >>
> >
> > I just realized the chunk above is specific for finding a -layer- with
> the type
> > distribution, but it doesn't actually carry any useful information other
> then
> > the layer type is distribution.
>
> I guess I don't see how "distro indexing" is different than listing the
> layers
> and identifying which ones are distros. Will the new layerindex api
> continue
> to provide the current information?
I’d assume it needs to know the actual names of the distros. Knowing a
given layer provides a distro of some sort isn’t going to tell you what
distros it provides.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-architecture/attachments/20161122/78904cf3/attachment-0002.html>
More information about the Openembedded-architecture
mailing list