summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rwxr-xr-xdevel/backports-update-manager8
2 files changed, 9 insertions, 1 deletions
diff --git a/README b/README
index 8d544eb4..2b494c8c 100644
--- a/README
+++ b/README
@@ -8,7 +8,7 @@ down to older kernels. It currently backports the following subsystems:
* WWAN
This package provides the latest Linux kernel subsystem enhancements
-for kernels 3.0 and above.
+for kernels 3.10 and above.
# Documentation
diff --git a/devel/backports-update-manager b/devel/backports-update-manager
index 8069fd48..dc969725 100755
--- a/devel/backports-update-manager
+++ b/devel/backports-update-manager
@@ -18,6 +18,8 @@ SPACE_PER_KERNEL=101
# ~13 MiB of both deb files
SPACE_PER_KERNEL_DEB=13
+MIN_VERSION = (3, 10)
+
GIT_TREES = [
"git://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git",
"git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git",
@@ -82,6 +84,12 @@ class backport_kernel_updater:
while len(sver[0]) < n:
sver[0].append(0)
+ filtered = {}
+ for subvers in last:
+ if tuple(make_version_tuple(subvers[1:])) >= MIN_VERSION:
+ filtered[subvers] = last[subvers]
+ last = filtered
+
result = []
for subvers in last.values():
subvers.sort(reverse=True)