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

Modify the path to rpmdb #8

Closed
2 tasks
morpheuslord opened this issue Apr 4, 2024 · 4 comments
Closed
2 tasks

Modify the path to rpmdb #8

morpheuslord opened this issue Apr 4, 2024 · 4 comments
Assignees

Comments

@morpheuslord
Copy link

Description

Hello there,

I am working on an SBOM utility that is capable of static and chroot-based analysis of red-hat-based images and your tool can be a goldmine to integrate but the issue is the image I will be scanning is a mounted volume and I am not able to understand how your tool accesses the DB cause if I can't edit the path to the db I wont be to access the images properly.

Benefit

The main benefits I can see are better integration and extended support.

Importance

This is quite important for me and for devs looking forward to integrating your tool.

Workaround

  • There is an existing workaround that can be used until this feature is implemented.

Participation

  • I am willing to submit a pull request for this issue. (Packit team is happy to help!)
@nforro
Copy link
Member

nforro commented Apr 4, 2024

Hi, rpm-shim doesn't access anything, it only allows you to import and use RPM Python bindings inside a virtualenv. I think you need to direct your question there: https://github.com/rpm-software-management/rpm

@morpheuslord
Copy link
Author

Thanks I will look into it 👍

@nforro
Copy link
Member

nforro commented Apr 4, 2024

@morpheuslord Just a hint, this may be what you are after (it may be outdated though): https://jfearn.fedorapeople.org/en-US/RPM/4/html/RPM_Guide/ch16s03.html

@morpheuslord
Copy link
Author

@morpheuslord Just a hint, this may be what you are after (it may be outdated though): https://jfearn.fedorapeople.org/en-US/RPM/4/html/RPM_Guide/ch16s03.html

That is exactly what I needed thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants