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? _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto