A different approach to kernel configuration
A different approach to kernel configuration
Posted Sep 12, 2017 12:26 UTC (Tue) by WolfWings (subscriber, #56790)Parent article: A different approach to kernel configuration
Some newer systems are arbitrary such as picking a compression or encryption algo at random as 'required' despite the actual code not requiring any single algo, just AT LEAST ONE algo existing from a large set.
Others are setup one-way (the USB <-> networking <-> wireless trifecta for example) for the requirements so if you don't disable things in the correct order you can't disable other things.
And there are numerous "top level items" that could be pushed down a level (or two!) to organize the tree structure in a more 'discoverable' way.
A lot of it is improved Kconfig's being needed IMHO; the existing actual tools are well thought out, but Kconfig's aren't reviewed anywhere near as much as the functional code I feel, so a LOT of really bad cruft and cargo-cult scripting has ended up in those over the years since the syntax seems entirely unique and unrelated to anything else.
Posted Sep 12, 2017 12:46 UTC (Tue)
by tao (subscriber, #17563)
[Link] (4 responses)
Posted Sep 12, 2017 21:35 UTC (Tue)
by rodgerd (guest, #58896)
[Link] (3 responses)
Posted Sep 13, 2017 3:15 UTC (Wed)
by Frogging101 (guest, #113180)
[Link] (2 responses)
In my opinion, the defconf should enable the components that one could reasonably expect to find on an x86 desktop or server system, and disable the more exotic drivers that one would never find on such a system to reduce the number of unnecessary components in a build.
Posted Sep 13, 2017 15:10 UTC (Wed)
by Frogging101 (guest, #113180)
[Link]
You can get said debs at https://packages.debian.org/unstable/kernel/linux-image-a... or http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D . Make an empty directory to extract it to, and run dpkg -x <deb file> <destination dir>. Look in boot/ under the destination for the config. Copy it to your kernel tree as .config. If it's an older config, run "yes '' | make oldconfig" before using it.
Posted Sep 13, 2017 23:16 UTC (Wed)
by Yui (guest, #118557)
[Link]
A different approach to kernel configuration
A different approach to kernel configuration
A different approach to kernel configuration
A different approach to kernel configuration
A different approach to kernel configuration