summaryrefslogtreecommitdiff
path: root/apkbuild-pypi.in
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-27 00:38:51 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-03 18:21:02 +0000
commite8e0b9e90a9934dae27f1aea438a48b0abf9d2dd (patch)
tree9b59b6a0e95d8e9ef4b3cf71119c8dadf5905cba /apkbuild-pypi.in
parent042921b798ba7d96c79b85df1d682745d0ddaf13 (diff)
downloadabuild-e8e0b9e90a9934dae27f1aea438a48b0abf9d2dd.tar.gz
abuild-e8e0b9e90a9934dae27f1aea438a48b0abf9d2dd.tar.bz2
abuild-e8e0b9e90a9934dae27f1aea438a48b0abf9d2dd.tar.xz
abuild-e8e0b9e90a9934dae27f1aea438a48b0abf9d2dd.zip
abuild: rewrite hardlink handling when compressing man pages
The problem is that gzip refuses to run if it detects that a file has more than 1 link. Our existing solution (removing hardlinks, compressing the man page and recreating the hardlinks) made certain assumptions about inode order that are only given on Unix v7 like filesystems meaning it didn't work properly on 'tree-based' filesystems like BTRFS or ZFS. This patch has a different more bulletproof approach: It simply replaces all hardlinks with symlinks. This is way easier because symlinks (unlike hardlinks) can point to a file that doesn't exist, therefore we can update all links before compressing the file in an easy way.
Diffstat (limited to 'apkbuild-pypi.in')
0 files changed, 0 insertions, 0 deletions