On Thu, Nov 18, 2004 at 01:57:24PM +0100, Lukas Ruf wrote:
> > >how can I find out which patches were applied to kernels as
> > >distributed with Debian?
> > >
> > Quick answer:
> > you can get the information you whant in the distributed tarball
> > /usr/src/kernel-source-2.x.x.tar.bz2
> >
> > For example, in the /usr/src/kernel-source-2.6.9
> > there are files with explicit name which may contain what you want:
> > Debian.src.changelog
> > applied_patches
> 
> I see the changelog but I do not see the applied_patches .
> However, I found the packages 'kernel-patch-<version>'
> 
> uccellina:src!85> dpkg -l | grep kernel | grep patches
> ii  kernel-patch-d 2.4.24-3       Debian patches to Linux 2.4.24
> ii  kernel-patch-d 2.6.7-4        Debian patches to Linux 2.6.7
> ii  kernel-patch-d 2.6.8-8        Debian patches to Linux 2.6.8
> 
> What I would like really, is something like applied_patches that would
> explicitely name the patches, i.e. file names of the patches applied.

1. install the package(s) kernel-patch-<version> for the version(s) you need

2. look in the files
     /usr/src/kernel-patches/all/<version>/debian/series/*
   for a list of patches that are applied to get the corresponding Debian
   kernel tree;
     "+" means patch will be applied,
     "-" means patch will be applied in reverse
     "X" has special meaning: the named file will be deleted when
         building official Debian kernel-source packages

3. the patches themselves are located in
    /usr/src/kernel-patches/all/<version>/debian/*

4. if you have an unpacked kernel tree, you can switch it forward and
   back between the revisions of the Debian kernel tree as given by the
   sequence files, by running
     /usr/src/kernel-patches/all/<version>/apply/debian <ktver>
   where version is the upstream kernel version and <ktver> is the
   Debian kernel tree revision you would like to reproduce.

These steps should apply to at least 2.4.27, though they may also be
valid for other versions.

Hope this helps,
Mirko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to