Open mering opened 2 months ago
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.
strip_prefix = "/"
pkg_tar
mtree_mutate()
/
Hmm that sounds bad, fixes are welcome, note that strip_prefix is not supposed to be identical to pkg_tar.
strip_prefix
We want to make all paths relative by using
strip_prefix = "/"
. While this works just fine withpkg_tar
, when usingmtree_mutate()
it deletes the whole file instead of just removing the/
prefix from all paths.