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

patching one kernel only



I didn't see this in this covered exactly in the kernel howto.  What I
would like to do is save my old kernel 2.0.34 until I'm sure that the
newly compiled kernel works.  I have downloaded two patches for the
kernel to make it 2.0.36.  Here is  my  /usr/src:

/usr/src$ l
total 14011
drwxrwsr-x   4 root     src          1024 Feb 16 10:35 ./
drwxr-xr-x  18 root     root         1024 Jan 26 10:19 ../
drwxr-xr-x   3 root     root         1024 Dec  9 05:02
kernel-headers-2.0.32/
drwxr-xr-x  15 root     root         1024 Feb  9 10:09
kernel-source-2.0.34/
lrwxrwxrwx   1 root     src            20 Feb  9 07:46 linux ->
kernel-source-2.0.34/
lrwxrwxrwx   1 root     src            21 Dec  9 05:18 linux-2.0.32 ->
kernel-headers-2.0.32/
lrwxrwxrwx   1 root     src            20 Feb  9 07:46 linux-2.0.34 ->
kernel-source-2.0.34/
-rw-r--r--   1 root     src       7014087 Jul 13  1998
linux-2.0.35.tar.gz
-rw-r--r--   1 root     src       7269221 Nov 15 23:50
linux-2.0.36.tar.gz
-rw-r--r--   1 root     src           134 Feb 16 09:21 old-tree.tar.gz

>From what I understand I need to apply the new patches before I compile
the kernel.  What I've read in the howto says that if I unpack the
patches they will go into, linux -> kernel-source-2.0.34/
I really don't need to apply the patches to this kernel.  I would like
to apply the patches to the kernel I am going to compile only, which if
I am understanding correctly should be, linux-2.0.34 ->
kernel-source-2.0.34/  which I guess will become 2.0.36.
How do I set this up so I can compile 2.0.36 only?  This is my first
time so I may not be thinking about this correctly.
Thanks,
Kent


Reply to: