mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
linuxPackages_hardened: fix update.py
this is kind of hack, idk how this worked before, tbh
This commit is contained in:
parent
f2473267a6
commit
e82f9673c5
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ for release in repo.get_releases():
|
|||
else:
|
||||
# Fall back to the latest patch for this major kernel version,
|
||||
# skipping patches for kernels newer than the packaged one.
|
||||
if kernel_version > packaged_kernel_version:
|
||||
if '.'.join(str(x) for x in kernel_version) > '.'.join(str(x) for x in packaged_kernel_version):
|
||||
continue
|
||||
elif (
|
||||
kernel_key not in releases or releases[kernel_key].version < version
|
||||
|
|
Loading…
Reference in a new issue