[linux-base] 02/05: perf: Drop support for versions older than 3.2
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sat Sep 17 00:00:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux-base.
commit 10f73652eb90314d43beaaf7f1f173fb720c7adc
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sat Sep 17 00:36:25 2016 +0100
perf: Drop support for versions older than 3.2
---
bin/perf | 15 ++-------------
debian/changelog | 1 +
2 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/bin/perf b/bin/perf
index 7377411..1ecb4d9 100644
--- a/bin/perf
+++ b/bin/perf
@@ -1,21 +1,10 @@
#!/bin/bash
# Execute the right version of perf for the current kernel.
-# Remove flavour or custom suffix and fix number of version components:
-# - For 2.6.x, use 3 components
-# - For 3.0 or 3.0.x, use 3.0.0
-# - Otherwise, use 2 components
+# Remove flavour or custom suffix and fix number of version components to 2.
version="$(uname -r)"
version="${version%%-*}"
case "$version" in
- 2.6.*.*)
- version="${version%.*}"
- ;;
- 2.6.*)
- ;;
- 3.0 | 3.0.*)
- version=3.0.0
- ;;
*.*.*)
version="${version%.*}"
;;
@@ -25,7 +14,7 @@ exec "perf_$version" "$@"
# Not found? Tell the user which package to install.
case "$version" in
- 2.6.* | 3.* | 4.0 | 4.0.*)
+ 3.* | 4.0 | 4.0.*)
package=linux-tools-$version
;;
*)
diff --git a/debian/changelog b/debian/changelog
index e88a017..716d039 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ linux-base (4.5) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* Update Dutch debconf template translations (Frans Spiesschaert)
(Closes: #837097)
+ * perf: Drop support for versions older than 3.2
-- Salvatore Bonaccorso <carnil at debian.org> Thu, 14 Jul 2016 19:58:02 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-base.git
More information about the Kernel-svn-changes
mailing list