Originally posted by
ssenuta
Quote:
The README file of new kernel source pkgs tells us not to use the /usr/src directory when we unpack & compile a kernel. This is a break from tradition & I am trying to understand why this in now necessary.
|
First, it's not really that new. My first experience rebuilding
a kernel was in 2003, the README file contained that suggestion,
as I remember discussing it with a veteran *nixer. The earliest
kernel source I have on my server atm is 2.4.0, which was released
on 01/05/2001, and it was in there:
Quote:
mingdao@silas:~/kernel$ less linux/README
INSTALLING the kernel:
- If you install the full sources, put the kernel tarball in a
directory where you have permissions (eg. your home directory) and
unpack it:
gzip -cd linux-2.4.XX.tar.gz | tar xvf -
Replace "XX" with the version number of the latest kernel.
Do NOT use the /usr/src/linux area! This area has a (usually
incomplete) set of kernel headers that are used by the library header
files. They should match the library, and not get messed up by
whatever the kernel-du-jour happens to be.
|
Look at the date on the
thread (Thu Jul 27 2000 - 02:39:51 EST),
and in it Linus said, "And this is actually what has been the
suggested environment for at least the last five years."
Second, whose tradition are we following?
Though it's not absolutely necessary with Slackware, it's still
good practice to leave /usr/src/linux alone and compile in /home.