Skip to content

Commit

Permalink
fix(kernel_crawler): fixed rpi debian kernel kernelrelease.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Dec 18, 2023
1 parent bf68ff6 commit 834577f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel_crawler/deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def build_package_tree(cls, packages, package_list):
item_show_func=repo.to_s) as pkgs:
for pkg in pkgs:
pv = packages[pkg]['Version']
if ":" in pv:
pv = pv.split(":")[1]
m = cls.KERNEL_RELEASE_UPDATE.match(pv)
if m:
pv = '{}/{}'.format(m.group(1), m.group(2))
Expand Down

0 comments on commit 834577f

Please sign in to comment.