According to Adrian Bolzan: While burning my CPU.
> 
> At 10:43 23/11/98 +0000, Richard Adams wrote:
> 
> >According to Adrian Bolzan: While burning my CPU.
> 
> >
> >I have commented on this mail as there have been so many mails about this
> >particular subject, most of then seem to be related to a wrong directory
> >structure resulting in things like patch and make failing, hence this mail.
> >
> >> 
> 
> 
>       But my mail seems to be getting most of the commenting... ;-) (perhaps i
> am wrong more often than not?)
> 
> anyway, the way i described upgrading the kernel does work and does not
> leave the kernel in a wrong directory structure...unless there is something
> i am missing?  

I am not saying you are wrong, if you read the way i wrote it, (the linux
documentaion way) then you will see the differance in the "order" of things.

You wrote
tar zxvf linux-2.0.35
and let it go.  when it is finished you should change the name from linux
to linux-2.0.35, so just go:
mv linux linux-2.0.35
then make a symlink from a new file called 'linux' to 'linux-2.0.35'
using:
ln -s linux-2.0.35 linux

Why untar the source into a directory which you only change later on, simply
create linux-2.0.35 first and link it to linux using 'ln' now the need to
change directory names is eliminated.
Tar will now packout the file into linux-2.0.35 which is linked to "linux".

The method described is once again the Documented way, also the way in which
distribution installs install the source and link directorys, not my way.

Now considering that Redhat or whatever distribution has already created
/usr/src and whichever version number of the kernel say 2.0.34 there will be
a directory called /usr/src/linux-2.0.34 with a link to linux, doing things
your way will result in tar writing all the new files into the 2.0.34
directory unless the link is removed first.

> 
> However, i did put my 2.0.36 source on two days ago using the method
> described and it compiled ok (without sound support, which will hopefully
> be fixed once i try Mr Adams' suggestion.)
> 
> see ya!
> 
> adrian b.
> 
> 
> 
> -------------------------------------------------------
> Some oxygen molecules help fires burn while others help
> make water, so sometimes it's brother against brother.
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to