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.

svn path=/dists/trunk/linux/; revision=22558
This commit is contained in:
Ben Hutchings 2015-05-04 22:48:12 +00:00
parent f86ce5d6e2
commit dbd5f89afd
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ dch -v "$new_pkg_ver" --preserve --multimaint-merge -D UNRELEASED \
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

2
debian/changelog vendored
View File

@ -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