[Toaster] Design - Downloading custom image recipe files

Barros Pena, Belen belen.barros.pena at intel.com
Tue Aug 11 02:41:22 PDT 2015



On 11/08/2015 09:11, "Reyna, David" <david.reyna at windriver.com> wrote:

>Ah, sorry, as I read it again it is "custom image" that is being cloned,
>and all we need is just the single recipe file.

Yes, that is exactly it: you just need the .bb file. We won't allow people
to extend image recipes from Toaster in this first version: we are making
a copy of the original .bb file and changing it as required.

Once again, thanks for reviewing the design documents :)

Cheers

Belén

>
>- David
>
>> -----Original Message-----
>> From: toaster-bounces at yoctoproject.org [mailto:toaster-
>> bounces at yoctoproject.org] On Behalf Of Reyna, David
>> Sent: Tuesday, August 11, 2015 1:02 AM
>> To: BARROS PENA, BELEN; toaster at yoctoproject.org
>> Subject: Re: [Toaster] Design - Downloading custom image recipe files
>>
>> Hi Belén,
>>
>> I have ready your design document and I think that it is fine, but I
>>have
>> some basic questions.
>>
>> 1. When I think of adapting an existing recipe into a custom one, I
>>would
>> normally do one of these two actions.
>>
>>   (a) Copy an existing recipe ".bb" file and make a new ".bbapend" file
>>to
>> extend that existing recipe via my local layer. In this case the recipe
>>name
>> would be necessarily the same, as would the recipe file (excepting the
>> extension and/or version).
>>
>>   (b) Clone the whole recipe directory as a "template" to make my own
>>new
>> similar recipe. In this case I would do a "cp -r *" into my local
>>layer, and
>> then replace all occurrences of the old recipe name in the directory and
>> recipe BB file name(s).
>>
>> 2. From your document, it appears that you are only copying and
>>potentially
>> renaming just the "Recipe File", so I am confused as to how this would
>>be
>> used by a developer.
>>
>> - David
>>
>> > -----Original Message-----
>> > From: toaster-bounces at yoctoproject.org [mailto:toaster-
>> > bounces at yoctoproject.org] On Behalf Of Barros Pena, Belen
>> > Sent: Friday, August 07, 2015 10:30 AM
>> > To: toaster at yoctoproject.org
>> > Subject: [Toaster] Design - Downloading custom image recipe files
>> >
>> > If we don't want custom images to be stuck in Toaster, we need to
>>allow
>> > people to download their recipe files. I've opened this enhancement
>>for
>> > that
>> >
>> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=8128
>> >
>> > The design document is attached to the Bugzilla entry as usual. Any
>> > questions / comments, let me know.
>> >
>> > Thanks!
>> >
>> > Belén
>> >
>> > --
>> > _______________________________________________
>> > toaster mailing list
>> > toaster at yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/toaster
>> --
>> _______________________________________________
>> toaster mailing list
>> toaster at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/toaster



More information about the toaster mailing list