Re: [PATCH] Kernel .patches support

From: Adrian Bunk (bunk_at_stusta.de)
Date: 06/24/05

  • Next message: Quadriplegic Leprechaun: "[2.6.12-mm1]: Undefined symbols"
    Date:	Fri, 24 Jun 2005 09:36:24 +0200
    To: Christian Hesse <mail@earthworm.de>
    
    

    On Thu, Jun 23, 2005 at 11:58:27PM +0200, Christian Hesse wrote:
    > Hi everybody,
    >
    > every time I apply a patch to my kernel tree I (or my scripts) make an
    >
    > echo $PATCHNAME $PATCHVERSION >> .patches
    >
    > This patch makes the file accessible via /proc/patches.gz. I think this can be
    > handy if you want to know what patches you (or your distributor) applied to
    > your running kernel...
    >...
    > Let me know what you think.

    To be honest, I'm not a fan of it.

    If e.g. looking at a Debian kernel source that has 289 different patches
    with names like tty-locking-fixes7 applied, you'll see that this often
    won't give you much valuable information.

    You'd need an uniform naming convention for patches across
    distributions, and I don't think such things are worth the effort.

    > Regards,
    > Christian

    > --- linux-2.6.12+/include/linux/patches.h 1970-01-01 01:00:00.000000000 +0100
    > +++ linux-2.6.12+-patches/include/linux/patches.h 2005-06-23 23:10:15.278685000 +0200
    > @@ -0,0 +1,6 @@
    > +#ifndef _LINUX_PATCHES_H
    > +#define _LINUX_PATCHES_H
    > +
    > +#include <linux/autoconf.h>
    > +
    > +#endif
    >...

    What do you need this file for?

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Quadriplegic Leprechaun: "[2.6.12-mm1]: Undefined symbols"

    Relevant Pages

    • Re: Bloat report 2.6.3 -> 2.6.4
      ... For the average computer you can buy at your supermarket today it isn't ... People who need to care about the size of the kernel use hand-tuned ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ANNOUNCE: CE Linux Forum - Specification V1.0 draft
      ... Kernel SHALL be configuralble with compiler size options, ... "specification" didn't send a patch - the trivial patch was sent by ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • USB mouse hiccups (was RFD: Kernel release numbering)
      ... and the 2.6.11 is a Mandrake-ised kernel + Linus patches - at least I ... I planted them carrots right here!! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test6 crash while reading files in /proc/fs/reiserfs/sda1
      ... The kernel is 2.6.0-test6 from kernel.org. ... No other patches. ... I did cat file> /dev/null on each one. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Weirdness with suspending jobs in 2.6.9-rc3
      ... >> It doesn't depend on which version I'm compiling, ... >> kernel I'm actually running. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)