"'Andreas Stagl'" <a.stagl,AT,gmx,DOT,at>|
RE: Cipe on Debian|
"Mark Smith" <mark.smith,AT,avcosystems,DOT,co,DOT,uk>|
Wed, 27 Aug 2003 10:35:03 +0100|
"Cipe list \(E-mail\)" <cipe-l,AT,inka,DOT,de>|
(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"
> 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
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
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
> 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
Tel: +44 (0)1784 430996 Fax: +44 (0)1784 431078