20.08.2015 20:40, kp kirchdoerfer пишет: > HI all; > > maybe we can make a step backwards in this discussion and can think about my > proposal to reduce the pain: > > "The whole pb started here AFAIK: > "Modules that are copied manually, should be saved. Modules that are > loaded from squashfs aren't added to moddb.tgz to reduce it's size." > > > Now we can argue that a user who has enough space for leaving modules.sqfs on > his boot media, will have enough left for a bigger moddb.lrp than necessary > (except those booting from iso image, who can't remove modules.sqfs). > > There is a case to remove modules.sqfs even beyond space, to speed up boot > time, so autodetection stops immediately due to "missing modules.sqfs". > > So if we go back and never write anything to /var/lib/lrpkg/sqfs.modules we > can get rid of the changes to update moddb properly, addinga config option to > leaf.cfg etc... > Andrew, will there be any other issues related to such a change?" Just slower boot (we should need to unpack 2MB of modules instead of some kb).
We also may change defaults for UPDATE_MODDB - set it ti true instead of false. > kp > > Am Mittwoch, 19. August 2015, 17:28:28 schrieb Andrew: >> 19.08.2015 17:24, Erich Titl пишет: >>> Hi Andrew >>> >>> Am 19.08.2015 um 16:21 schrieb Andrew: >>>> 19.08.2015 17:13, Erich Titl пишет: >>>>> Hi Andrew >>>>> >>>>> Am 19.08.2015 um 16:11 schrieb Andrew: >>>>>> 19.08.2015 17:09, Erich Titl пишет: >>>>>>> Hi Andrew >>> ... >>> >>>>> Yew and IMHO those modules should be replaced by the ones from either >>>>> moddb or autoprobing. >>>> Why them should be duplicated in moddb? What sense of this? >>> Because they got replaced by a version which may be different. >> 1) they are loaded mostly at boot >> 2) there's no alternative USB & so on drivers (non-kernel), and driver >> for other kernel version will not be loaded. >> >>> As I said, stuff in initmod is _temporary_ to me, just for system >>> boot. If I could, I would even replace the kernel on the fly :-) There >>> is no need to have a recent kernel just to fetch sofware on storage, >>> but YMMV >>> >>> cheers >>> >>> ET >>> >>> >>> >>> >>> -------------------------------------------------------------------------- >>> ---- >>> >>> >>> _______________________________________________ >>> leaf-devel mailing list >>> leaf-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/leaf-devel >> ---------------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> leaf-devel mailing list >> leaf-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/leaf-devel > > ------------------------------------------------------------------------------ > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------------ _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel