[kernel] r22558 - in dists/trunk/linux/debian: . bin

Ben Hutchings benh at moszumanska.debian.org
Mon May 4 22:48:13 UTC 2015


Author: benh
Date: Mon May  4 22:48:12 2015
New Revision: 22558

Log:
Fix URLs for stable changelogs from 4.0 onward

The version parsing was fine but we had 3.x hardcoded in the URL.
Assume that each major version gets a new directory from now on.

Modified:
   dists/trunk/linux/debian/bin/stable-update.sh
   dists/trunk/linux/debian/changelog

Modified: dists/trunk/linux/debian/bin/stable-update.sh
==============================================================================
--- dists/trunk/linux/debian/bin/stable-update.sh	Mon May  4 17:41:22 2015	(r22557)
+++ dists/trunk/linux/debian/bin/stable-update.sh	Mon May  4 22:48:12 2015	(r22558)
@@ -65,7 +65,7 @@
     echo "New upstream stable update: "
     while [ "v$cur_ver" != "v$new_ver" ]; do
         cur_ver="$(next_update "$cur_ver")"
-        echo "https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-$cur_ver"
+        echo "https://www.kernel.org/pub/linux/kernel/v${cur_ver%%.*}.x/ChangeLog-$cur_ver"
     done)"
 
 # Then insert the shortlogs with sed

Modified: dists/trunk/linux/debian/changelog
==============================================================================
--- dists/trunk/linux/debian/changelog	Mon May  4 17:41:22 2015	(r22557)
+++ dists/trunk/linux/debian/changelog	Mon May  4 22:48:12 2015	(r22558)
@@ -1,7 +1,7 @@
 linux (4.0.1-1~exp1) UNRELEASED; urgency=medium
 
   * New upstream stable update:
-    https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-4.0.1
+    https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.1
     - udptunnels: Call handle_offloads after inserting vlan tag.
     - tcp: tcp_make_synack() should clear skb->tstamp
     - bnx2x: Fix busy_poll vs netpoll



More information about the Kernel-svn-changes mailing list