|To:||Cyrill Gorcunov <gorcunov-GEFAQzZX7r8dnm+yROfE0A-AT-public.gmane.org>|
|Subject:||Re: Re: [RFC] Simplifying kernel configuration for distro issues|
|Date:||Sun, 15 Jul 2012 15:09:12 -0700 (PDT)|
|Cc:||Borislav Petkov <bp-HnHVZv34qLXYtjvyW6yDsg-AT-public.gmane.org>, Pekka Enberg <penberg-DgEjT+Ai2ygdnm+yROfE0A-AT-public.gmane.org>, richard -rw- weinberger <richard.weinberger-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org>, "Myklebust, Trond" <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA-AT-public.gmane.org>, Linus Torvalds <torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b-AT-public.gmane.org>, Dave Jones <davej-H+wXaHxf7aLQT0dZR+AlfA-AT-public.gmane.org>, Greg Kroah-Hartman <greg-U8xfFu+wG4EAvxtiuMwx3w-AT-public.gmane.org>, Ubuntu Kernel Team <kernel-team-nLRlyDuq1AZFpShjVBNYrg-AT-public.gmane.org>, Debian Kernel Team <debian-kernel-0aAXYlwwYIJuHlm7Suoebg-AT-public.gmane.org>, OpenSUSE Kernel Team <opensuse-kernel-stAJ6ESoqRxg9hUCZPvPmw-AT-public.gmane.org>, Linux Kernel Mailing List <linux-kernel-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org>, Ingo Molnar <mingo-X9Un+BFzKDI-AT-public.gmane.org>, Sasha Levin <levinsasha928-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org>, Asias He <asias.hejun-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org>, Pavel Emelyanov <xemul-bzQdu9zFT3WakBO8gow8eQ-AT-public.gmane.org>|
On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: > Replying to David's message (sorry for delay) I fear having a bunch of > miniconfig files will end up in a mess. Maybe (maybe (!) I don't know since > I've no time at moment to read kconfig code and I'm not sure if this > is right direction at all) it would worth to add some new keyword to > kconfig language, say "profile", which would tag symbol to a category > if needed, and these categories included into profiles automatically. > On the other hands this might end up in a mess as well. I have a couple problems with the approach of modifying the existing kconfig files 1. how does it handle the case when a profile wants something one way and the admin wants it another way the example is the fedora default wanting SELINUX and I want some other LSM 2. since it requires making changes in the upstream kernel source, the number of people who can make these changes is small. 3. since all these changes go into the upstream kernel source, changes to these profiles are going to be visible churn (think of the issues with the defconfigs for ARM a couple of years ago) 4. the complexity of tagging all possible profiles is very high. Even if you limit the profiles to "Linux Distros", how many different distros are there? Do you really want to have to start arguing over which distros are large enough to get their profile added to the upstream kernel source? If instead we go with something along the lines of the miniconf approach, the picture looks very different 1. this approach only sets things one time, after that the person doing the compile is free to change anything. 2. since the changes are a local file, separate from the upstream source, issues like who can provide the config, what distros will accept it, complexity in having many different options, etc all vanish 3. by simply combining miniconfig files, you can combine sets of pre-defined options David Lang
Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds