<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 3:38 PM, Trevor Woerner <span dir="ltr"><<a href="mailto:twoerner@gmail.com" target="_blank">twoerner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue 2016-11-22 @ 10:20:58 AM, Mark Hatle wrote:<br>
> >> Then search "layerItems.json" for records where "layer_type":"D"<br>
> >><br>
> >> # choose a distro layer<br>
> >> choices = []<br>
> >> distroLines = sorted(layerItems, key=lambda k: k["name"])<br>
> >> distroLines = filter(lambda x: x["layer_type"] == "D", distroLines)<br>
> >> choices.append(("nodistro", "The distro-less distro"))<br>
> >><br>
><br>
> I just realized the chunk above is specific for finding a -layer- with the type<br>
> distribution, but it doesn't actually carry any useful information other then<br>
> the layer type is distribution.<br>
<br>
</span>I guess I don't see how "distro indexing" is different than listing the layers<br>
and identifying which ones are distros. Will the new layerindex api continue<br>
to provide the current information?</blockquote></div><br>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.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>