linux/kernel/update-mainline: don't readd EOL kernels
This commit is contained in:
parent
6347cd23dc
commit
cd70dc73d8
1 changed files with 7 additions and 0 deletions
|
@ -130,6 +130,13 @@ def main():
|
|||
continue
|
||||
|
||||
if old_version is None:
|
||||
if kernel.eol:
|
||||
print(
|
||||
f"{kernel.branch} is EOL, not adding...",
|
||||
file=sys.stderr
|
||||
)
|
||||
continue
|
||||
|
||||
message = f"linux_{nixpkgs_branch}: init at {kernel.version}"
|
||||
else:
|
||||
message = f"linux_{nixpkgs_branch}: {old_version} -> {kernel.version}"
|
||||
|
|
Loading…
Reference in a new issue