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

fix rpm in the runtime #7

Open
matthiasclasen opened this issue Jun 7, 2016 · 1 comment
Open

fix rpm in the runtime #7

matthiasclasen opened this issue Jun 7, 2016 · 1 comment

Comments

@matthiasclasen
Copy link
Owner

Running rpm inside a sandbox with the runtime gives:

$rpm -qa
$

So, something is missing.

@matthiasclasen
Copy link
Owner Author

Turns out my problem was that --dbpath requires an absolute path. This works:

ostree --repo=exportrepo checkout -U --subpath=/files/lib/rpm runtime/org.flatpak.Runtime.Var/x86_64/1 var
rpm --dbpath=pwd/var -qa

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

No branches or pull requests

1 participant