[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quick kernel question



Hi,
>>"Richard" == Richard Kaszeta <kaszeta@me.umn.edu> writes:

Richard> With all the recent changes with how the kernel packages
Richard> work, has someone written up a quick explanation of what to
Richard> do with them?  I'm probably not the only one confused.

	Now I'm confused ;-). Which kernel package are you talking
about? (At last count, there were kernel-image-X.XX,
kernel-headers-X.XX, kernel-source-X.XX and kernel-package).

	Assuming you are talking about the kernel package packaging
scripts packaged in kernel-package ;-0, (kernel-package contains a set
of files that enable you to get a raw kernel sources file from Linus's
site (or wherever you get raw sources from), and then proceed to
compile your own kernel-image-X.XX package).

	To paraphrase what Michael Alan Dorman said:
  1) cd /tmp
  2) ncftp tsx-11.mit.edu:/pub/linux/sources/system/v1.3/linux-pre2.0.10.tar.gz
  3) tar xvzf linux-pre2.0.10.tar.gz
  4) ncftp \
     ftp.debian.org:/debian/private/project/Incoming/kernel-package-1.02.tar.gz
  5) cd linux
  6) tar xvzf ../kernel-package-1.02.tar.gz 
  7) make config
  8) ./debian.rules kernel_image
  9) cd .. 
 10) dpkg --install kernel-image-1.99.9-0.i386.deb

A variant: 
  1) cd /usr/src
  2) ncftp tsx-11.mit.edu:/pub/linux/sources/system/v1.3/linux-pre2.0.10.tar.gz
  3) tar xvzf linux-pre2.0.10.tar.gz
  4) mv linux kernel-sources-1.99.10
  5) ln -s kernel-sources-1.99.10 linux
  6) ncftp \
       ftp.debian.org:/debian/private/project/Incoming/kernel-package-1.02.deb
  7) dpkg -BRGiE kernel-package-1.02.deb
  8) cd linux
  9) tar xvzf ../kernel-package-1.02.tar.gz 
 10) make config
 11) ./debian.rules kernel_image
 12) cd .. 
 13) dpkg --install kernel-image-1.99.9-0.i386.deb

	Is this what you wanted to know? The tar file
kernel-package-1.02.tar.gz contains documentation in the file
./debian/package.doc, which explains this in more detail. (If you use
variant 2 and install kernel-package-1.02.deb, then the docs should be
in /usr/doc/kernel-package after step 7 above).

	manoj
--
"In our last congressional elections, there was less turnover in the
House of Representatives than there was in the Soviet Politburo: 98.5%
of the incumbents were reelected!"  -- John McCormick, _Self-Made In
America_ %%


Manoj Srivastava               Systems Research Programmer, Project Pilgrim,
Phone: (413) 545-3918                A143B Lederle Graduate Research Center,
Fax:   (413) 545-1249         University of Massachusetts, Amherst, MA 01003
<srivasta@pilgrim.umass.edu> <URL:http://www.pilgrim.umass.edu/%7Esrivasta/>


Reply to: