[CentOS-devel] kernel-sourcecode RPM?

Tue Nov 22 22:05:00 UTC 2005
Charlie Brady <charlieb-centos-devel at budge.apana.org.au>

On Tue, 22 Nov 2005, Charlie Brady wrote:

> On Tue, 22 Nov 2005, Karanbir Singh wrote:
>
>> try this :
>> -------------
>> rpmbuild -bp --target i686 kernel-2.6.spec
>> mv ../BUILD/kernel-2.6.9 ../BUILD/kernel-2.6.9.i686
>> 
>> rpmbuild -bp --target x86_64 kernel-2.6.spec
>> 
>> cd ../BUILD
>> diff -uNr kernel-2.6.9.i686 kernel-2.6.9 | wc -l
>> 15431
>
> Did you look at the diff? There's lots like this:
>
> ...
> 0000000 -0500
> @@ -1,7 +1,7 @@
>> 
>> Automatically generated make config: don't edit
>> Linux kernel version: 2.6.9-ac11
> -# Tue Nov 22 06:42:42 2005
> +# Tue Nov 22 06:46:36 2005
> #
> CONFIG_X86=y
> CONFIG_MMU=y
> ...

A slight mistake here. I compared i686 and i586 builds and that's what I 
found. Comparing x86_64 and i686 builds generates differences in the 
.config* files. But I don't expect to use those from a kernel-sourcecode 
RPM - they are included in kernel-devel and kernel-smp-devel RPMs.