mirror of
https://github.com/anchore/syft
synced 2024-11-10 22:34:22 +00:00
fix: update glob to use newer usr/lib/sysimage path (#1997)
See this link for details on the path migration for the rpmdb https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
1d6d5f7f5f
commit
e774006052
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
// Packages is the legacy Berkely db based format
|
||||
// Packages.db is the "ndb" format used in SUSE
|
||||
// rpmdb.sqlite is the sqlite format used in fedora + derivates
|
||||
const RpmDBGlob = "**/{var/lib,usr/share}/rpm/{Packages,Packages.db,rpmdb.sqlite}"
|
||||
const RpmDBGlob = "**/{var/lib,usr/share,usr/lib/sysimage}/rpm/{Packages,Packages.db,rpmdb.sqlite}"
|
||||
|
||||
// Used in CBL-Mariner distroless images
|
||||
const RpmManifestGlob = "**/var/lib/rpmmanifest/container-manifest-2"
|
||||
|
|
Loading…
Reference in a new issue