dpkg-gencontrol, dpkg-distaddfile: protect update of debian/files with a lock
The lock is taken on debian/control as this is a file that we know to
always exist. Without this lock, it's possible that the file is updated
concurrently by two processes when parallel building is enabled (leading
to one of them failing unexpectedly).
Reported-by: James Vega <jamessan@debian.org>
parent
0879ea6d
Please register or sign in to comment