Re: adding modules to kernel
From: Adam Hardy (adam.ant_at_cyberspaceroad.com)
Date: 08/29/05
- Previous message: Hans du Plooy: "LSI SATA Raid - slow"
- In reply to: Bob Proulx: "Re: adding modules to kernel"
- Next in thread: Bob Proulx: "Re: adding modules to kernel"
- Reply: Bob Proulx: "Re: adding modules to kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Aug 2005 10:28:13 +0100 To: debian-user@lists.debian.org
Bob Proulx on 29/08/05 03:35, wrote:
>
> * You are not using --append-to-version. You should because otherwise
> your package versions will be simply 2.6.12 or similar and won't
> have any way to differentiate them from each other.
>
> These questions can all be answered in the docs here:
>
> http://newbiedoc.sourceforge.net/system/kernel-pkg.html
>
Right. Having read that and also the man page, I got the following
advice which confused my simple caffeine starved brain. What do I do if
I only want to compile a module which I forgot in xconfig? Can I avoid
the complete compile??
Quote man:
--append_to_version foo
[snip.....]
Please note that you must run a make-kpkg clean after configuring the
kernel using make (x|menu)?config, since that creates the file
include/linux/version.h without the append_to_version data (foo). This
file won't be updated by the make-kpkg run (make-kpkg creates version.h
if it doesn't exist, but doesn't touch if exists), so the final kernel
will _not_ have the append_to_version data in its version number it
shall look for the modules and symbols in all the wrong places. The
simplest solution is either to remove include/linux/version.h after
configuring and before compiling, or running make-kpkg clean after
configuring, before compiling.
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Hans du Plooy: "LSI SATA Raid - slow"
- In reply to: Bob Proulx: "Re: adding modules to kernel"
- Next in thread: Bob Proulx: "Re: adding modules to kernel"
- Reply: Bob Proulx: "Re: adding modules to kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|