Skip to contentSkip to conversation

Design - Downloading custom image recipe files

DISCUSSION Barros Pena, Belen 2 participants 4 messages Aug 7, 2015 – Aug 11, 2015

lore
Share & tools
lore
#1 lore raw

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

Quoted 25 lines

-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Friday, August 07, 2015 10:30 AM
To: [email protected]
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
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#2 lore raw

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.

- David

Quoted 61 lines

-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Reyna, David
Sent: Tuesday, August 11, 2015 1:02 AM
To: BARROS PENA, BELEN; [email protected]
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

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Friday, August 07, 2015 10:30 AM
To: [email protected]
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!

Quoted 7 lines

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#3 lore raw
Quoted 2 lines · David

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

Quoted 74 lines

- David

Quoted 71 lines

-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Reyna, David
Sent: Tuesday, August 11, 2015 1:02 AM
To: BARROS PENA, BELEN; [email protected]
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

Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Friday, August 07, 2015 10:30 AM
To: [email protected]
Subject: [Toaster] Design - Downloading custom image recipe files

If we don't want custom images to be stuck in Toaster, we need to

allow

Quoted 1 line

people to download their recipe files. I've opened this enhancement

for

Quoted 9 lines

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!

Quoted 7 lines

Belén

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster