Dnia czwartek, 27 lipca 2006 00:43, Richard Purdie napisaĆ:
> For a long time we've talked about what to do with
> BOOTSTRAP_EXTRA_RDEPENDS as whilst is does what some people need, it
> doesn't cover every users needs and the machine conf files are starting
> to contain information that should be under distro control.
Right - I see it now with OpenZaurus 3.5.4.2-rc0 where Poodle lack some
modules. Today I will probably move some of common modules into distro
config for that.
> The idea is machines state which features they have e.g.:
>
> MACHINE_FEATURES_spitz = "kernel26 apm alsa pcmcia bluetooth irda
> usbgadget usbhost ext2"
>
> and distributions set which items they'd like to appear in their
> standard images e.g.:
>
> DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost
> wifi"
>
> and the task file combines these variables and comes up with a machine
> specific task package suited to the machine and distribution. So
> variables are by machine selection, some by distro selection and some
> are controlled by both.
I like it. This way we do not have to add WiFi modules into each machine
config (or include common-modules.inc in machine configs) and if someone
want to create own distro without wifi he has to remove one feature only.
> This solution was based on the module lists used by the Zaurii and ipaqs
> in OE so should be capable of covering at least those machines once the
> tosort list is dealt with. There are a couple of functions that need to
> be added to base.bbclass to make it work.
>
> Does anyone have any thoughts on this?
Go ahead I would say.
> I'd be interested if anyone could give examples of the types of images
> they'd like to generate from OE. task-bootstrap is one but what should
> an initrd contain for example?
minimal-bootstrap = NFS + Wifi + USB (gadget/host) + BT (if machine support
bt or cf or usb) + working shell (for those people which want to install
own set of stuff)
--
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer
Monday is a hard way to spend one-seventh of your life.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe