diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-26 08:14:36 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-26 16:44:23 +0200 |
commit | 92186b70ca9c520fc726e0885aac633aadace655 (patch) | |
tree | ddef3fcf99f329dc62294dfafc111d350cfa2e50 /abuild-tar.c | |
parent | bed1c80a465683a34063acd78ef3d86a8e196296 (diff) | |
download | abuild-92186b70ca9c520fc726e0885aac633aadace655.tar.gz abuild-92186b70ca9c520fc726e0885aac633aadace655.tar.bz2 abuild-92186b70ca9c520fc726e0885aac633aadace655.tar.xz abuild-92186b70ca9c520fc726e0885aac633aadace655.zip |
abuild: fix fetch lock file on nfs
flock(2) on an NFS mount will on the server side convert the lock to a
POSIX lock (fcntl(F_SETLK)). This means that abuild running on NFS
server and client will create different locks and they will both try
download same file at same time.
We fix this by creating a small abuild-fetch application that will
create a POSIX lock which works with NFS.
Diffstat (limited to 'abuild-tar.c')
0 files changed, 0 insertions, 0 deletions