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

Re: patching one kernel only



>From the size (and names) of the linux-2.0.35.tar.gz and
linux-2.0.36.tar.gz files, it looks like you downloaded the complete
kernel source instead of the patches.  Just 'rm linux' to delete the
symlink and 'tar xzf linux-2.0.36.tar.gz' which will untar the archive
into linux.  You can 'mv linux linux-2.0.36' and 'ln -s linux-2.0.36
linux' to keep it separate and linked to linux as before.  Then you can cd
to linux and compile without affecting anything in the
kernel-source-2.0.34 directory. 

If you had downloaded the patches (patch-2.0.3x.gz), the procedure would
be to make a copy of your 2.0.34 source directory in linux (rather than
the link) and apply the patch to that, leaving the original directory
unchanged.

Bob

On Tue, 16 Feb 1999, ktb wrote:

> 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
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

----
Bob Nielsen                 Internet: nielsen@primenet.com
Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
DM42nh                      http://www.primenet.com/~nielsen


Reply to: