diff mbox series

[2/4] backports-update-manager: Install only kernel 4.0 and higher

Message ID 20240401215535.2432969-2-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series [1/4] CI: Add libelf-dev to dev container | expand

Commit Message

Hauke Mehrtens April 1, 2024, 9:55 p.m. UTC
Kernel 3.x are not supported any more, install only more recent kernel
versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 devel/backports-update-manager | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/devel/backports-update-manager b/devel/backports-update-manager
index 815a0421..c2900b64 100755
--- a/devel/backports-update-manager
+++ b/devel/backports-update-manager
@@ -79,7 +79,7 @@  class backport_kernel_updater:
         builds = re.findall(b'href="([-v.0-9a-z]*)/"', html)
         builds = [b.decode('ascii') for b in builds]
         # remove some special kernels
-        builds = [b for b in builds if re.match('v[3-9]', b)]
+        builds = [b for b in builds if re.match('v[4-9]', b)]
         builds = [b for b in builds if not '-rc' in b and not '-unstable' in b and not '-ckt' in b]
         last = {}
         for b in builds: