Skip to content

Commit

Permalink
package: Remove libc6 and libssl3 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
darktohka authored Mar 30, 2022
1 parent 924b117 commit a00486a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernelcollector/PackageCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ def downloadAndRepack(self, releaseLink, releaseName, releaseType, pkgName, file
elif line.startswith('Depends: '):
dependencies = [dep for dep in line[len('Depends: '):].split(', ') if not dep.startswith('linux-')]

# libssl3 and newer libc6 is not available on Debian.
dependencies = [dep for dep in dependencies if not dep.startswith('libc6') and not dep.startswith('libssl3')]

# initramfs depends on the logsave script, which is not installed by default.
# Without the logsave script, the system will not boot.
if 'image' in pkgName:
Expand Down

0 comments on commit a00486a

Please sign in to comment.