On Sun, 2010-10-31 at 14:29 +0200, Andrew wrote:
> 
> P.S. Also there is a new question against package management: I included 
> pptp kernel module into accel-pptp package (and made modifications to 
> scripts - to avoid duplication of modules in packages and moddb); also I 
> planned to do same thing with other ppp-related modules - so we will 
> provide different packets, but users will not have headache with module 
> adding or, instead, moddb will not be overloaded by non-common modules. 
> So I need an opinion: is it good solution, or we must include modules 
> only in moddb as earlier?

IMHO, understanding Packages versus Modules can be difficult for LEAF
novices, so we should aim to be very consistent in how these are handled
and documented.

With 3.x it was essential to understand Modules, since they had to be
identified and insmod'ed manually, in the right sequence. With 4.x the
automation of hardware module loading, modprobe etc. is a big step
forward, and IMHO, important for wider adoption of BuC. (On Fedora, SUSE
etc. I don't need to worry about Modules, so why should that be
different on BuC?)

Personally, I vote for keeping Modules and Packages separate - i.e.
Modules only in moddb.lrp and modules.tgz, never in package.lrp - and
loading the right Modules by other means.

For example, aiccu.lrp needs tun.ko which in turn needs crc32.ko. These
are not currently in the initial moddb.lrp and they cannot be
"auto-detected". It would be cool if loading aiccu.lrp automatically
added missing entries to /etc/modules and updated /lib/modules, in the
same way that it would be cool if loading aiccu.lrp automatically loaded
lpthread.lrp. See e.g. my enhancement request for Package (and Module)
auto-loading: https://sourceforge.net/apps/trac/leaf/ticket/2

davidMbrooke


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to