linuxPackages_hardened: fix update.py

this is kind of hack, idk how this worked before, tbh
This commit is contained in:
ajs124 2021-08-21 00:06:21 +02:00
parent f2473267a6
commit e82f9673c5

View file

@ -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