The Saturday 2003-12-06 at 01:46 -0900, John Andersen wrote:
The 'kernel-source*.rpm' contain the sources that go to '/usr/src/linux_version/*'. There is only one (common for all cpu versions).
The kernel-source.src.rpm contains the sources to the sources above.
Er, run that by us one more time Carlos... What are sources to sources??
X'-) That's the best definition I can give in one line. Another one - taken from Tom Clancy's espionage characters: "You don't need to know" :-p I'm kidding. But if you don't know, it is because you don't really need it. I'll try to explain. (1) You have the rpm containing the binaries, in several "flavours" (ie, names) depending on your CPU type. (2) Then you have a normal rpm which contains a source tree, that goes to '/usr/src/linux/*', from which you can compile and install self-tailored kernels, with the typical methods (make dep, make menuconfig, etc, etc). It is not a .src.rpm: that is, you can not use the rpm -b switches on it, because it is not a "source" rpm, but a binary, that happens to contains sources. Confused? Can't help it O:-) (3) And finally, there is a *.src.rpm, which is a real sources rpm as all the rest of sources rpms, containing the original kernel.org sources (I think) plus all patches separate in their files, from which you can build the kernel sources and/or binaries as used by SuSE - I suppose - by the normal -b switches to the rpm command. I never used it, except to have a peep at it and know that it is not for me ;-) -- Cheers, Carlos Robinson