Is there a new magic rpmbuild option to make the kernel-sourcecode and/or kernel-doc in the same run as making kernel-smp and kernel? Perhaps some combination of --target= ? If built at different times, will the kernel-sourcecode be useful for building additional modules if needed, or have the kernel headers necessary been added into the kernel and kernel-smp rpms?
rpmbuild --rebuild --clean --target=i386,i686 kernel-x.y.z.src.rpm
(you could add ,athlon to the target to if your interested in that version of the kernel)
Chris Kloiber wrote:
Is there a new magic rpmbuild option to make the kernel-sourcecode and/or kernel-doc in the same run as making kernel-smp and kernel? Perhaps some combination of --target= ? If built at different times, will the kernel-sourcecode be useful for building additional modules if needed, or have the kernel headers necessary been added into the kernel and kernel-smp rpms?
On Wed, 2004-06-02 at 13:29, Chris Chabot wrote:
rpmbuild --rebuild --clean --target=i386,i686 kernel-x.y.z.src.rpm
(you could add ,athlon to the target to if your interested in that version of the kernel)
Chris Kloiber wrote:
Is there a new magic rpmbuild option to make the kernel-sourcecode and/or kernel-doc in the same run as making kernel-smp and kernel? Perhaps some combination of --target= ? If built at different times, will the kernel-sourcecode be useful for building additional modules if needed, or have the kernel headers necessary been added into the kernel and kernel-smp rpms?
Seems the magic (for me at least, as I make x86-64 kernels for the eMachines m680x) is:
# cd /usr/src/redhat/SPECS # rpmbuild -ba --target=x86-64,noarch kernel-2.6.spec
Which reminds me to announce that I'm uploading kernel-2.6.6-1.406.0.m680x to my website now for the eMachine m680x crowd now. It's accidentally transferring the kernel-debuginfo that was made as well (huge!), so it could take a while (I'm no longer at my hotel to stop it).
On Wed, 2004-06-02 at 00:31, Chris Kloiber wrote:
On Wed, 2004-06-02 at 13:29, Chris Chabot wrote:
rpmbuild --rebuild --clean --target=i386,i686 kernel-x.y.z.src.rpm
Thanks for the webpage Chris K. I just cancelled my order for one of these boxes.. dont have enough time to help get it working :(.
On Wed, 2004-06-02 at 06:18, Chris Kloiber wrote:
Is there a new magic rpmbuild option to make the kernel-sourcecode and/or kernel-doc in the same run as making kernel-smp and kernel? Perhaps some combination of --target= ?
rpmbuild --target=noarch
If built at different times, will the kernel-sourcecode be useful for building additional modules if needed
none of the 2.6 kernel rpms have a kernel-source that can be used for building additional modules, from the very start of when I started doing these rpms.
, or have the kernel headers necessary been added into the kernel and kernel-smp rpms?
yes