.set_path()/.set_link_name() fails when using long filenames, and Builder methods should be used instead to use GNU long-name tar extensions, as documented in tar crate docs.
Fixes errors like this:
cargo-deb: I/O error: provided value is too long when setting path for usr/share/<...>
because: provided value is too long when setting path for usr/share/<...>
.set_path()
/.set_link_name()
fails when using long filenames, andBuilder
methods should be used instead to use GNU long-name tar extensions, as documented in tar crate docs.Fixes errors like this: