[Toaster] Work on better artifact detection
Brian Avery
avery.brian at gmail.com
Tue Jul 12 16:18:08 PDT 2016
upstreamed v2 to the 2 lists and pushed into poky-contrib/toaster-next.
-b
an intel employee
On Fri, Jul 8, 2016 at 5:55 PM, Brian Avery <avery.brian at gmail.com> wrote:
> upstreamed to the 2 lists and pushed onto poky-contrib/toaster-next.
> -b
> an intel employee
>
> On Tue, Jun 28, 2016 at 6:42 AM, Smith, Elliot <elliot.smith at intel.com>
> wrote:
>
>> I have a version of the code for 8556 on this branch:
>>
>> elliot/toaster/8556-image_fstypes
>>
>> As it involves changes to toaster.bbclass, I would like to ask for
>> feedback on this branch as a whole, rather than submitting my patches to
>> two different mailing lists and having them potentially going out of sync.
>>
>> To test, try building something with populate_sdk and/or populate_sdk_ext.
>>
>> The trickiest part was figuring out how to get populate_sdk_ext
>> artifacts, as there's no direct link between the target you run and the
>> files it outputs. I fudged it by looking for files containing "-nativesdk-"
>> in their path: not ideal, but I was unable to figure out an alternative.
>>
>> I also added a lot of code to clone artifacts from previous targets, if
>> those targets match the current target. For example, if you build
>> core-image-minimal, then build it again, the second build will clone the
>> artifacts from the first (as the second build won't create any image
>> files). (It's more complicated than that, so look at the code and comments
>> for details of the algorithm.)
>>
>> This means that each target should always have artifacts associated with
>> it, even if it didn't produce them. Note that cloning of artifact records
>> between targets is only done within a project, and not done at all if a
>> target produced artifacts of its own.
>>
>> As the code is fairly far-reaching, I would appreciate comments from as
>> many people as possible.
>>
>> Thanks.
>> Elliot
>> --
>> Elliot Smith
>> Software Engineer
>> Intel Open Source Technology Centre
>>
>> --
>> _______________________________________________
>> toaster mailing list
>> toaster at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/toaster
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160712/69c7e860/attachment.html>
More information about the toaster
mailing list