[WBEL-users] Upgrading to 2.6.9-42.0.3

Johnny Hughes mailing-lists at hughesjr.com
Thu Nov 16 05:55:31 CST 2006


On Wed, 2006-11-15 at 15:14 +0100, Fernando Apesteguía wrote:
> On 11/15/06, Vic <whitebox at beer.org.uk> wrote:
> > > One follow-up quesiton:
> > >
> > > When I did the rpmbuild -ba .... it generated all of these packages:
> > > kernel-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-debuginfo-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-devel-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-largesmp-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-largesmp-devel-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-smp-2.6.9-42.0.3.EL.x86_64.rpm
> > > kernel-smp-devel-2.6.9-42.0.3.EL.x86_64.rpm
> > >
> > > I'm just interested in the first one. It's possible to generate only
> > > this one to save some time?
> >
> > Yes.
> >
> > Have a look at the .spec file - it has the lines :
> >
> > %define buildup 1
> > %define buildsmp 1
> > %define buildsource 0
> > %define buildhugemem 1
> > %define buildlargesmp 1
> >
> > Change the "1"S to "0"s if you don't want to build that version.
> 
> Hey man, once again (and I've done this a lot of times :) ) thank you very much.
> Just another question:
> 
> If I link the BUIL/kernel-xxx/linux-2.6.9-xxx to /usr/src/linux,
> programs that expect to have the kernel sources in /usr/src/linux
> right?
> However, some programs (like the ATI drivers) return a "not version.h
> file found"
> 
> Do you know something about this?

You can do that ... but it is possible that your directory might get
cleaned out of the BUILD directory by a rebuild process later.

I would probably copy the linux-2.6.9-xxx directory to /usr/src/ and
symlink that to /usr/src/linux.

(and do it again on the next kernel, etc.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://beau.org/pipermail/whitebox-users/attachments/20061116/26b29999/attachment.bin


More information about the Whitebox-users mailing list