Skip to content

Commit

Permalink
chore(kernel_crawler): exclude PAM packages.
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 Oct 20, 2023
1 parent dca21c8 commit 8a0909a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_crawler/photon.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PhotonOsRepository(rpm.RpmRepository):
def kernel_package_query(cls):
# We exclude `esx` kernels because they don't support CONFIG_TRACEPOINTS,
# see https://github.com/vmware/photon/issues/1223.
return '''((name = 'linux' OR name LIKE 'linux-%devel%') AND name NOT LIKE '%esx%')'''
return '''((name = 'linux' OR name LIKE 'linux-%devel%') AND name NOT LIKE '%esx%' AND name NOT LIKE '%PAM%')'''


class PhotonOsMirror(repo.Distro):
Expand Down

0 comments on commit 8a0909a

Please sign in to comment.