Skip to main content

KernelDB.poisoned_superseded()

Find kernels flagged as superseded by content that exists in no live location.

Usage

Source

KernelDB.poisoned_superseded()

These kernels’ own file is present on disk, so which should find it, but superseded_by points at a hash with no file anywhere. find_by_filename therefore skips the row, so the kernel resolves as “not found” and every update downloads it again. #29 made the state repairable and #31 makes it visible. scan over the kernel directory repairs every row listed here. A genuine upstream update whose newer file is on disk is not listed.

Returns

list[dict]
One dict per kernel with the keys sha256, filename, superseded_by and abs_path (a present location).