<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 10, 2013 at 10:32 AM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":64"> hoping this question makes sense -- i use own-mirrors.bbclass to point<br>
at a sizable directory of tarballs (almost 12G worth) that i've been<br>
collecting over many months and, after every OE layer upgrade, whatever<br>
newer sources are pulled in, will generate the corresponding tarball and<br>
i'll copy that into my tarballs directory.<br>
<br>
predictably, at this point, there's a *lot* of old, irrelevant cruft in<br>
that directory, but i know of no automated way to get rid of any of it.<br>
for instance, i currently have five versions of automake (1.11.2, 1.12.1,<br>
1.12.3, 1.12.5 and 1.12.6) taking up space. doesn't hurt, of course, but<br>
it would be handy to be able to generate a list of all possible,<br>
potentially necessary versions of a source -- that is, any version for<br>
which any recipe still lists it as PREFERRED_VERSION.<br>
<br>
does that make sense? obviously, that would have to be done in the<br>
context of a given set of layers and all the corresponding recipes in<br>
those layers. is there a way to do that already? if not, i'm sure i<br>
could whip up a simple script that would do the job. thanks.</div></blockquote></div><br>You could likely write a class that adds a task which writes the localpaths for all sources in SRC_URI to a file, add that to INHERIT, and build that task (don't forget to set recrdeptask) for the 'universe' target (like world, but hits all versions, iirc).<br>
-- <br>Christopher Larson</div></div>