backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: backports@vger.kernel.org
Cc: Johannes Berg <johannes.berg@intel.com>
Subject: [PATCH v2 11/11] backports: no longer support kernels < 3.10
Date: Fri, 13 Oct 2017 11:42:26 +0200	[thread overview]
Message-ID: <20171013094226.10021-11-johannes@sipsolutions.net> (raw)
In-Reply-To: <20171013094226.10021-1-johannes@sipsolutions.net>

From: Johannes Berg <johannes.berg@intel.com>

Since CRYPTO_CMAC was introduced in 3.10, and mac80211
depends on it, we basically get nothing out of it anyway.

I'm not removing the support code (yet) since it actually
compiles, and perhaps somebody has a need for (certain)
kernel versions lower than 3.10.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 README                         | 2 +-
 devel/backports-update-manager | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 8d544eb4870e..2b494c8c7238 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 8069fd485ea6..dc9697253e84 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)
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

      parent reply	other threads:[~2017-10-13  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13  9:42 [PATCH v2 01/11] backports: move headers to be clearer Johannes Berg
2017-10-13  9:42 ` [PATCH v2 02/11] backports: add mktime64() Johannes Berg
2017-10-13  9:42 ` [PATCH v2 03/11] copy-list: move mpls includes Johannes Berg
2017-10-13  9:42 ` [PATCH v2 04/11] backports: add hex_byte_pack Johannes Berg
2017-10-13  9:42 ` [PATCH v2 05/11] backports: add bin2hex() Johannes Berg
2017-10-13  9:42 ` [PATCH v2 06/11] backports: add signature verification code Johannes Berg
2017-10-13  9:42 ` [PATCH v2 07/11] backports: add netdev_upper_dev_link() extack argument Johannes Berg
2017-10-13  9:42 ` [PATCH v2 08/11] backports: make QTNFMAC_PEARL_PCIE depend on 3.13 Johannes Berg
2017-10-13  9:42 ` [PATCH v2 09/11] backports: RSI_SDIO depends " Johannes Berg
2017-10-13  9:42 ` [PATCH v2 10/11] backports-update-manager: use KPATH variable Johannes Berg
2017-10-13  9:42 ` Johannes Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171013094226.10021-11-johannes@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=backports@vger.kernel.org \
    --cc=johannes.berg@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).