summaryrefslogtreecommitdiff
path: root/debian/patches/debian/version.patch
diff options
context:
space:
mode:
authorBen Hutchings <benh@debian.org>2012-04-03 04:34:17 +0000
committerBen Hutchings <benh@debian.org>2012-04-03 04:34:17 +0000
commit5c9895e3ccb16011bc7f2148c482d2c49499682e (patch)
treebd68f6d577c2e3208eeceb44cd9b316ec3688960 /debian/patches/debian/version.patch
parent78b9c64209bf60ce0436b34e23b5a2f0901ea2de (diff)
Adding header information for most Debian-specific patches
svn path=/dists/sid/linux-2.6/; revision=18901
Diffstat (limited to 'debian/patches/debian/version.patch')
-rw-r--r--debian/patches/debian/version.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/debian/version.patch b/debian/patches/debian/version.patch
index a15b1ee8c..f61f91bf6 100644
--- a/debian/patches/debian/version.patch
+++ b/debian/patches/debian/version.patch
@@ -1,3 +1,25 @@
+From: Bastian Blank <waldi@debian.org>
+Subject: Add debian version information to kernel version string
+Date: Sun, 20 May 2007 11:46:51 +0200
+
+Include the package version in /proc/version and the initial log
+banner.
+
+Determine the target distribution ($DISTRIBUTION) with lsb_release,
+defaulting to Debian.
+
+For distribution binary packages we assume
+$DISTRIBUTION_OFFICIAL_BUILD is set. Add $DISTRIBUTION and
+$DISTRIBUTION_VERSION after the kernel version (UTS_RELEASE), and
+replace the account name used to build the package with
+$DISTRIBUTION_UPLOADER.
+
+[bwh: Changed $DISTRIBUTION_UPLOADER to $DISTRIBUTION_MAINTAINER.]
+
+For custom packages built from a linux-source package, read the
+package version from version.$DISTRIBUTION and add that after
+the kernel version string.
+
--- a/init/version.c
+++ b/init/version.c
@@ -36,12 +36,31 @@ struct uts_namespace init_uts_ns = {