Hi, if this isn't the right list, I apologize in advance, and perhaps you can point me in the right direction. I'm trying to figure out how to get from a kernel-source.src.rpm anda k_smp.src.rpm to a k_smp.i586.rpm. I'm more familiar with how Red Hat does kernel builds, and I have not yet figured out the tricks for SuSE. Some questions that come to mind... How is the k_smp.src.rpm generated? How is it (and/or kernel-source.src.rpm) used to re-generate a binary k_smp.i586.rpm? I'd like to make some changes to the stock SuSE kernel, and build & package it just as SuSE does, for installation on several machines. is this documented anywhere? Thanks, -Eric -- Eric Sandeen [C]XFS for Linux http://oss.sgi.com/projects/xfs sandeen@sgi.com SGI, Inc. 651-683-3102
Eric Sandeen <sandeen@sgi.com> [03 Oct 2003 13:36:42 -0500]:
I'm trying to figure out how to get from a kernel-source.src.rpm anda k_smp.src.rpm to a k_smp.i586.rpm. I'm more familiar with how Red Hat does kernel builds, and I have not yet figured out the tricks for SuSE.
The k_*.src.rpm only contain the configuration of that kernel. So if you want to change something in the kernel configuration, the k_*.src.rpm are the right place to do so. If you want to make changes to the kernel source code, it's kernel-source you have to rebuild. Philipp
On Sat, 4 Oct 2003, Philipp Thomas wrote:
The k_*.src.rpm only contain the configuration of that kernel. So if you want to change something in the kernel configuration, the k_*.src.rpm are the right place to do so. If you want to make changes to the kernel source code, it's kernel-source you have to rebuild.
Actually, I need to do both (code changes & config changes). One thing that seems a little odd is that both the k_*.src.rpm and the kernel-source rpm contain a config. In any case, how does one actually produce a binary k_*.i586.rpm from the two src.rpms? Is this documented anywhere? Thanks, -Eric
On Sun, 5 Oct 2003, Eric Sandeen wrote:
kernel-source rpm contain a config. In any case, how does one actually produce a binary k_*.i586.rpm from the two src.rpms? Is this documented anywhere?
Oh, I suppose installing kernel-source then rebuilding k_*.src.rpm might work, eh? sorry for the noise... -Eric
Eric Sandeen <sandeen@sgi.com> [Sun, 5 Oct 2003 16:37:08 -0500 (CDT)]:
Actually, I need to do both (code changes & config changes).
Then install kernel-source.src.rpm, integrate your changes and rebuild kernel-source.rpm and use this rebuilt kernel-source package to rebuild k_*.rpm. BTW, I'd recommend installing the build package and use this for building rpms. Philipp -- Philipp Thomas work: pthomas AT suse DOT de SUSE LINUX AG private: philipp DOT thomas AT t-link DOT de
participants (2)
-
Eric Sandeen
-
Philipp Thomas