You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
It seems hard links are defined using relative paths from the root of the tar file... that absolutely makes sense since it's needed always an absolute reference inside the tar file itself but the initial slash is mostly useless because it will be always there :-P
```
> tar -tvf syslinux-6.03.tar.gz |grep bios/linux
drwxrwxr-x hpa/hpa 0 2014-10-06 18:32 syslinux-6.03/bios/linux/
-rwxrwxr-x hpa/hpa 213600 2014-10-06 18:32 syslinux-6.03/bios/linux/syslinux-nomtools
hrwxrwxr-x hpa/hpa 0 2014-10-06 18:32 syslinux-6.03/bios/linux/syslinux enlace a syslinux-6.03/bios/linux/syslinux-nomtools
```
Problem is that my previous commit introduced a regression here by not considering this use case. This change now fix it by allways strip `linkname` if it's from a hard link.
0 commit comments