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

strip_prefix="/" in mtree_mutate() deletes everything #946

Open
mering opened this issue Sep 24, 2024 · 1 comment
Open

strip_prefix="/" in mtree_mutate() deletes everything #946

mering opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mering
Copy link
Contributor

mering commented Sep 24, 2024

We want to make all paths relative by using strip_prefix = "/". While this works just fine with pkg_tar, when using mtree_mutate() it deletes the whole file instead of just removing the / prefix from all paths.

@thesayyn
Copy link
Collaborator

thesayyn commented Nov 1, 2024

Hmm that sounds bad, fixes are welcome, note that strip_prefix is not supposed to be identical to pkg_tar.

@thesayyn thesayyn added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants