linuxPackages_hardened: fix update.py
this is kind of hack, idk how this worked before, tbh (cherry picked from commit e82f9673c5ec76b71409b3ec7e5c99043df63976)
This commit is contained in:
parent
422b95f54f
commit
6c74fc118a
@ -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…
x
Reference in New Issue
Block a user