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

Re: Patching the Kernel the Debian Way



-- Doug MacFarlane <madmac@covad.net> wrote
(on Tuesday, 28 January 2003, 11:52 AM +0000):
> I need to apply the freeswan patch to the kernel, and, as always, I hope
> to do this "The Debian Way".  I've been reading the make-kpkg man page, and
> there appears to be 3 different ways to do this.

I can't answer all of this, but I can provide some insight to number 2:

> 2.  The PATCH_THE_KERNEL environment variable.  Where is this set?  I don't
> seem to have one in my, or root's environment.  Should I just add it to my,
> and/or root's, .bashrc or .bash_profile?  If so, which one?

It sounds like, from the rest of what you wrote, you need to set
PATCH_THE_KERNEL to "AUTO". Environment variables can be created at any
time for a shell and its subshells simply by doing the following from a
prompt:

    export PATCH_THE_KERNEL=AUTO

And that's it. If you do a 'printenv' at this point, you will see this
new variable in your environment.

-- 
Matthew Weier O'Phinney
matthew@weierophinney.net



Reply to: