Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian distro not correctly detected with this os-release #25

Open
pombredanne opened this issue Apr 27, 2021 · 0 comments
Open

Debian distro not correctly detected with this os-release #25

pombredanne opened this issue Apr 27, 2021 · 0 comments
Labels

Comments

@pombredanne
Copy link
Collaborator

This /usr/lib/os-release

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

was not detected correctly in rootfs pipeline.

  1. we should ensure that we can get to this path too
  2. we should be more flexible with the paths (and leading segments)
  3. in all cases, checking for system-installed packages should not be dependent on the detected distro. We should try Debian, RPM, etc. and all supported types in all FS and/or layers analyzed in a scancode.io pipeline (which impacts the code here, in scancode-toolkit and in scancode.io)
@pombredanne pombredanne changed the title Debain distro not correctly detected with this os-release Debian distro not correctly detected with this os-release Apr 27, 2021
pombredanne added a commit that referenced this issue Apr 27, 2021
This is to find the root of a rootfs based on the presence of key paths
be they files or directories.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne added a commit that referenced this issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant