<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: "'Andreas Stagl'" <a.stagl,AT,gmx,DOT,at>
Subject: RE: Cipe on Debian
From: "Mark Smith" <mark.smith,AT,avcosystems,DOT,co,DOT,uk>
Date: Wed, 27 Aug 2003 10:35:03 +0100
Cc: "Cipe list \(E-mail\)" <cipe-l,AT,inka,DOT,de>
Importance: Normal
In-reply-to: <5.1.0.14.2.20030826122830.0294c428@pop.gmx.at>

Andreas,

(Copied to the list again for completeness)

> Just for info: "uname -r" provides the following info...
> Linux debian001 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown

That appears to be the output from "uname -a", the output from "uname -r"
should be

  2.4.18-bf2.4

> So, which one should I take... 2.4.18-13 or 2.4.18-5.... and anyhow, how
> can I find out which "minor-version" (like 5 or 13 in this example) is
> running on my sytem?

My document describes the procedure for determining the source version from
the kernel image changelog as found in
/usr/share/doc/kernel-image-2.4.18-bf2.4/changelog.gz

I would expect this to be built from 2.4.18-5 if you haven't upgraded your
kernel to the version available from the Debian security update site.

> And how shall I download the package... using "apt-get source" or "apt-get
> install". I'm asking this, because "apt-get install" would also install
> some still not installed packages like binutils, bzip2 and so on.

I picked the source using dselect, so I'm guessing that's comparable to
something like

  apt-get install kernel-source-2.4.18

which will indeed pull in other packages.  You probably do want
kernel-package to provide "make-kpkg" to create /usr/src/linux/debian
initially and populate it with a changelog.

> Do you have any suggestion, where I shall put the sources? Can't I
directly
> put them into /usr/src/linux?

The Debian policy installs a tar.bz2 in /usr/src which unpacks to
/usr/src/kernel-source-2.4.18 including sub directories, after which you
want to create a symlink to /usr/src/linux.  If you really prefer to rename
this to /usr/src/linux then I don't see why you can't, but I do recommend
using the symlink instead.

> Sorry for asking this, but how do I add a symbolic link?!?

You want to run something like the following, in /usr/src

  ln -s kernel-source-2.4.18 linux

Hope this helps,

--
Mark Smith - Avco Systems Ltd
email: mark.smith,AT,avcosystems,DOT,co,DOT,uk
Tel: +44 (0)1784 430996 Fax: +44 (0)1784 431078


<< | Thread Index | >> ]    [ << | Date Index | >> ]