Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: <david-gFPdbfVZQbY <at> public.gmane.org>
Subject: Re: Re: [RFC] Simplifying kernel configuration for distro issues
Newsgroups: gmane.linux.suse.kernel
Date: Sunday 15th July 2012 22:09:12 UTC (over 5 years ago)
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
 
CD: 2ms