[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-architecture
Subject:    Re: [Openembedded-architecture] OEDEM - Setup program
From:       Christopher Larson <clarson () kergoth ! com>
Date:       2016-11-22 22:50:26
Message-ID: CABcZANnY2=R6gfXdzGq6d8AhcgLmB3MEuB2NjD4pvjj=JHrbow () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Nov 22, 2016 at 3:38 PM, Trevor Woerner <twoerner@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

[Attachment #5 (text/html)]

<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">&lt;<a \
href="mailto:twoerner@gmail.com" target="_blank">twoerner@gmail.com</a>&gt;</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> &gt; &gt;&gt; Then search &quot;layerItems.json&quot; for records \
where &quot;layer_type&quot;:&quot;D&quot;<br> &gt; &gt;&gt;<br>
&gt; &gt;&gt;      # choose a distro layer<br>
&gt; &gt;&gt;      choices = []<br>
&gt; &gt;&gt;      distroLines = sorted(layerItems, key=lambda k: \
k[&quot;name&quot;])<br> &gt; &gt;&gt;      distroLines = filter(lambda x: \
x[&quot;layer_type&quot;] == &quot;D&quot;, distroLines)<br> &gt; &gt;&gt;      \
choices.append((&quot;nodistro&quot;, &quot;The distro-less distro&quot;))<br> &gt; \
&gt;&gt;<br> &gt;<br>
&gt; I just realized the chunk above is specific for finding a -layer- with the \
type<br> &gt; distribution, but it doesn&#39;t actually carry any useful information \
other then<br> &gt; the layer type is distribution.<br>
<br>
</span>I guess I don&#39;t see how &quot;distro indexing&quot; 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>



_______________________________________________
Openembedded-architecture mailing list
Openembedded-architecture@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-architecture


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic