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

handle symlinks correctly when doing dir copy #428

Closed
luogni opened this issue Dec 17, 2021 · 1 comment · Fixed by #453
Closed

handle symlinks correctly when doing dir copy #428

luogni opened this issue Dec 17, 2021 · 1 comment · Fixed by #453
Labels
bug Something isn't working

Comments

@luogni
Copy link

luogni commented Dec 17, 2021

Hi, I'm using nfpm to create deb packages from a full directory with lots of files and libraries (.so files).

contents:
  - src: /opt/gstreamer
    dst: /opt/gstreamer

Normal files are copied correctly but symlinks are transformed to normal files (dpkg -c file.deb):

-rwxr-xr-x root/root    121152 2021-12-17 16:06 ./opt/gstreamer/lib/libswresample.so
-rwxr-xr-x root/root    121152 2021-12-17 16:06 ./opt/gstreamer/lib/libswresample.so.3
-rwxr-xr-x root/root    121152 2021-12-17 16:06 ./opt/gstreamer/lib/libswresample.so.3.9.100

.so and .so.3 files should be symlinks. I can't specify every single symlink because there are tons of them.

@Felixoid
Copy link
Contributor

Felixoid commented Feb 9, 2022

I am trying to address the issue in goreleaser/fileglob#24 and #453

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

Successfully merging a pull request may close this issue.

3 participants