aboutsummaryrefslogtreecommitdiffstats
path: root/debian/README.source
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-03-15 01:17:42 +0000
committerBen Hutchings <ben@decadent.org.uk>2016-03-15 01:20:55 +0000
commit316fdb166af6751e9c5fdee779d507cd1a68b34a (patch)
tree269fe378bfcd24cffd08f351433850b1d5e36805 /debian/README.source
parent5bb08e79303123ce16be056708edc590c942f401 (diff)
downloadkernel_replicant_linux-316fdb166af6751e9c5fdee779d507cd1a68b34a.tar.gz
kernel_replicant_linux-316fdb166af6751e9c5fdee779d507cd1a68b34a.tar.bz2
kernel_replicant_linux-316fdb166af6751e9c5fdee779d507cd1a68b34a.zip
README.source: Document how to update the changelog for a new upstream version
Diffstat (limited to 'debian/README.source')
-rw-r--r--debian/README.source30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
index 39894e003220..98569e08bb5b 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -53,6 +53,36 @@ unifdef packages installed.
will usually fail due to conflicts with upstream changes. You need
to resolve those by dropping or refreshing patches.
+Recording updates in the changelog
+----------------------------------
+
+Upstream commits that we already cherry-picked and included in a
+previous package upload should not be mentioned, since they don't make
+any difference to the package. Any other commits that fix a Debian
+bug report and/or a security issue with a CVE ID should always be
+listed, along with the (Closes: #nnnnnn) and/or (CVE-yyyy-nnnn)
+reference.
+
+Aside from those general rules:
+
+* For an upstream release candidate, don't attempt to list the changes
+
+* For a stable release by Linus, refer to the summary at
+ kernelnewbies.org, e.g. http://kernelnewbies.org/Linux_4.5
+
+* For a stable update, refer to the changelog on kernel.org, e.g.
+ https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.1, and
+ list all changes that are relevant to our package and that fix bugs
+ that we would consider 'important' or higher severity
+
+ - The script debian/bin/stable-update.sh updates the changelog
+ version and inserts the list of changes (but it doesn't always
+ put it in the right place!). It doesn't attempt to filter out
+ irrelevant or unimportant changes.
+
+ - The script debian/bin/ckt-stable-update.sh does the same for
+ stable updates by the Canonical Kernel Team.
+
Applying patches to the Debian kernel tree
==========================================