Mailinglist Archive: opensuse-kernel (65 mails)

< Previous Next >
Re: [opensuse-kernel] reintroduce .configs in kernel-source.rpm?
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Wed, 20 Jan 2010 15:48:25 +0100
  • Message-id: <4B5717B9.8060507@xxxxxxx>
On 20.1.2010 15:47, Greg KH wrote:
On Wed, Jan 20, 2010 at 03:33:21PM +0100, Michal Marek wrote:
Hi,

in the past, the kernel-source package used to install the config files
for it's architecture to
/usr/src/linux-obj/$arch/$flavor/.config
Now kernel-source is noarch and the the files below /usr/src/linux-obj/
are packaged in kernel-$flavor-devel. This works fine for KMPs, but it's
unintuitive for people who install the kernel-source package and want to
manually recompile their kernel - they have to install an additional
-devel package for just the single .config file. Therefore I was
thinking about adding the .config files to kernel-source, e.g.

/usr/src/linux/config/$arch/$flavor

like the config/ subdir in git (and hope that there won't appear a
'config' directory in the upstream kernel). Or maybe place the configs
next to the upstream defconfigs:

/usr/src/linux/arch/$arch/configs/suse_$flavor_defconfig

Then it would be possible to say
make O=... suse_$flavor_defconfig
(it would not be that easy actually, because x86 and x86_64 share the
same directory).

What do you think?

What's wrong with the config in /proc/config.gz that is on all systems?
That doesn't require a new package to be installed :)

That limits you to the kernel version and flavor you are running :).

Michal
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References