Re: compiling & Installing different versions of kernel
On Thu, Sep 26, 2002 at 11:04:31AM +0530, J.S.Sahambi wrote:
> I am using 2.4.19 kernel and now I want to appy the a patch to certain
> file, compile it, and install it as diffeeret version, say
> "2.4.19-patched" (so that it has differenet modules directory and should
> not mess up with my working /lib/modules/2.4.19).
>
> So how can I proceed to compile, install the patched version and still
> have the 2.4.19 if someting goes wrong.
>
> I think make-kpkg can also be used. If yes, how?
make-kpkg can do that with ease.
"make-kpkg --append-to-version -patched kernel_image" would create a
Debian kernel package with that name and you would have
/lib/modules/2.4.19-patched, which can coexist with the original
/lib/modules/2.4.19.
See the man page section on "--append-to-version" for details.
Reply to: