Thanks, Trevor! Looking at what others are doing regarding templates sounds like a good starting point, of course. But it seems to me there is more interesting stuff buried somewhere in your answer, so I hope it's ok if I dig a little deeper.
I think I might have asked the wrong question. Let's forget about the word "template" for a moment, and ask something a bit different: of the stuff you select / configure when building an image with Hob, what would be useful to save for reuse? Once we determine that, we can discuss how it should be called ("template" could be the wrong word). Thanks! Belen On 28/03/2013 21:34, "Trevor Woerner" <twoer...@gmail.com> wrote: >On Thu, Mar 28, 2013 at 2:00 PM, Barros Pena, Belen ><belen.barros.p...@intel.com> wrote: >> When we tried to define it properly, we realised that templates could >>be a >> few different things, and that we should find out which of them is the >> most useful. This email is my attempt to gather your thoughts on this >> templates business. >> >> I guess the key question to answer is: in your opinion, which parts of >>the >> configuration should be saved as part of a Hob template? > >If someone handed me something and said "this is my embedded Linux >distribution's template" I would assume it would pertain to the "feel" >of this distribution and not, for example, to the list of packages, >machine, endianness, interfaces, or anything else processor-, >installation-, or board-specific. > >Yocto creates distributions. So if Yocto/Hob has something called >"templates" then a sensible question to ask is "what is in a Debian >template?" or a Fedora template? or an openSUSE template? And how do >they compare to each other? > >Each of these distributions (Debian, Fedora, openSUSE) can create >images for x86, x86_64, ARM, and other targets, therefore the choice >of hardware doesn't define a distribution's template. The person >installing Fedora on one machine can choose which packages to install >such that two people's installations could look entirely different >from each other (e.g. one person might choose XFCE and the other use >Gnome), therefore the list of packages doesn't define a distribution's >template. Each of these can be installed on devices that have or don't >have Ethernet ports, serial ports, various video output, and various >input devices, therefore the choice of hardware doesn't define a >distribution's template. > >The assumption is that if someone is comfortable using Fedora on one >device/installation, they'll also be at home using Fedora on another. >Therefore there is something templatizable about Fedora that doesn't >rely on the specific hardware on which you're using it nor on which >packages are installed. What that is, though, I'm not 100% sure. > >To be honest I am uncertain how one could have a "distribution >template". The above is just my musing on this subject if we had to >have something called a template :-) > >Seeing how poky is very debian-like, most images created with Yocto >will feel like Debian more than anything else, won't they? --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto