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

Re: /usr/src is empty



On Wed, May 02, 2001 at 12:20:53AM -0400, John Willey wrote:
> Yes, /usr/src is EMPTY.

You said it. :)

I append the debian-lovin-kernel-buildin-HOWTO, (c) apt the
#debian bot (not really, but someone on #debian). Enjoy.

-- 
John Lenton (john@grulic.org.ar) -- Random fortune:
No digas no sin saber por qué no.
From memory:

# apt-get install kernel-package
# apt-get install kernel-source-<version>	(or ftp from ftp.kernel.org)
    if you get the version from kerne.org, you might be interested in
    /pub/linux/kernel/people/hedrick/<version>-ide/

    also check out the several packaged module kits (start with "apt-cache --names-only search modules"
# cd /usr/src
# tar Ixvf kernel-source-<version>.tar.bz2
# ln -s kernel-source-<version> linux
# cp /usr/doc/kernel-package/Flavours.gz .
# vim Flavours.gz				(edit as necessary)
# cd /usr/src/linux
# zcat ../Flavours.gz | patch -p0
# make menuconifg
# make-kpkg clean
# make-kpkg --revision <number> --flavour <text> kernel_image

(get coffee)

# cd ..
# dpkg -i kernel-image-<version>-<flavour>_<revision>_i386.deb

Attachment: pgplwnCWVXT4Z.pgp
Description: PGP signature


Reply to: