debian/watch: Add watch file and update script

svn path=/dists/trunk/linux/; revision=20290
This commit is contained in:
Ben Hutchings 2013-06-24 02:04:54 +00:00
parent 65cc08094e
commit 614eb957a8
3 changed files with 24 additions and 0 deletions

19
debian/bin/uscan-hook vendored Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash -e
# This script is invoked by uscan after downloading a new tarball
if [ "x$1" != "x--upstream-version" -o $# != 3 ]; then
echo >&2 "invalid arguments: $*"
exit 2
fi
version="$2"
filename="$3"
upstream_tarball="$(readlink -f "$filename")"
rm "$filename"
debian/bin/genorig.py --override-version "$version" "$upstream_tarball"
dch -v "$version-1" 'New upstream release'
debian/rules orig

1
debian/changelog vendored
View File

@ -11,6 +11,7 @@ linux (3.10~rc7-1~exp1) UNRELEASED; urgency=low
- Add EMAC Controller to Hackberry dt
* [x86] cpufreq: Enable X86_INTEL_PSTATE (Closes: #712062)
* debian/control: Add Homepage field
* debian/watch: Add watch file and update script
-- Ben Hutchings <ben@decadent.org.uk> Thu, 13 Jun 2013 01:50:52 +0100

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
# Find first non-rc tarball linked from kernel.org.
# We need to DFSG-clean it, so use our own script instead of uupdate.
version=3
https://www.kernel.org/ .*/linux-([0-9.]+).tar.xz debian debian/bin/uscan-hook