Re: Compiling kernel "rm -rf asm linux scsi"?
-----BEGIN PGP SIGNED MESSAGE-----
1997-10-21 at approximately 05:45 PM -0700, Mark Phillips wrote:
> I am trying to compile the kernel. The README says I should make sure
> "/usr/include/asm, /usr/include/linux, and /usr/include/scsi directories
> are just symlinks to the kernel sources". They are not, so should I do a
> "rm -rf asm linux scsi" as they suggest?
No, don't do that (there is a very good reason for that, but I am not clear
on what it is, perhaps someone else on the list can enlighten me :). I
suggest using kernel-package to build a kernel, see
"/usr/doc/kernel-package/README.gz" if that package is installed on your
system. It works great, I recently used it to build a 2.0.31 kernel-image
and kernel-source package. I have excerpted a section of
"/usr/doc/kernel-package/README.gz" below to show how simple it is to use.
For the Brave and the impatient:
1% cd <kernel source tree>
2% make config # or make menuconfig or make xconfig and configure
3% make-kpkg clean
4% make-kpkg -r=custom.1.0 kernel_image
5% dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb
6% shutdown -r now # If and only if LILO worked or you have a means of
# booting the new kernel. YOU HAVE BEEN WARNED!!
Joel Klecker <URL:mailto:firstname.lastname@example.org> <URL:http://www.espy.org/>
Apple Flavored Unix (Unix for Macs and clones)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
-----END PGP SIGNATURE-----
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .