dawidd6 / action-debian-package

:gear: A GitHub Action for building Debian packages
MIT License
25 stars 8 forks source link

Symlinks are transformed as well, which leads into broken symlinks. #17

Closed waja closed 3 years ago

waja commented 3 years ago

Adding the correct transformation scope flags here.

https://www.gnu.org/software/tar/manual/html_section/tar_51.html mentions a way to fix this:

In addition, several transformation scope flags are supported, that control to what files transformations apply. These are:

[...]

`S'
Do not apply transformation to symbolic link targets.
waja commented 3 years ago

You can compare https://github.com/waja/maldetect/runs/1370635825?check_suite_focus=true#step:5:1287 against https://github.com/waja/maldetect/runs/1371011875?check_suite_focus=true#step:5:1287, which has the fix in use.

dawidd6 commented 3 years ago

Thanks