Björn Lindström wrote:
"H. S." <greatexcalibur@yahoo.com> writes:While doing a google search to read pages on who to compile a new Linux kernel the Debian way, I see some of them mentioning that I should first delete a symlink "linux" in /usr/src if it exists before I untar and unzip a download kernel file, and then recreate it. Some pages do not suggest this. Is this a step crucial?Yes. You might have noticed that the root directory in the kernel tarball is called "linux". Thus, if you have a symlink to another kernel source called that, it would untar the files into the other kernel source's directory.
I guess I am missing something here. I have a file kernel-source-2.4.22.tar.bz2 in /usr/src, and when I do:
{src}> tar -jtf kernel-source-2.4.22.tar.bz2 I get the listing as: {src}> tar -jtf kernel-source-2.4.22.tar.bz2 kernel-source-2.4.22/ kernel-source-2.4.22/COPYING kernel-source-2.4.22/CREDITS kernel-source-2.4.22/Documentation/ kernel-source-2.4.22/Documentation/arm/ kernel-source-2.4.22/Documentation/arm/Booting kernel-source-2.4.22/Documentation/arm/ConfigVars kernel-source-2.4.22/Documentation/arm/MEMC kernel-source-2.4.22/Documentation/arm/Netwinder kernel-source-2.4.22/Documentation/arm/README