lib/repo: Use correct name for tmpdir lockfile
authorColin Walters <walters@verbum.org>
Thu, 21 Sep 2017 18:50:54 +0000 (14:50 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 21 Sep 2017 21:10:34 +0000 (21:10 +0000)
commitae075d23e3d2069f48fcfca0207ca8f46a923d29
tree3d12fd527584fd5726e333922035bb575ffe1f95
parente689b8b4a563764d72b2985f170a6d7283f87cb0
lib/repo: Use correct name for tmpdir lockfile

Such an evil bug ðŸ™ˆ. I was just reading an strace trying to figure out what was
going on, and noticed we had the `XXXXXX` in the lockfile name. It was only
after that I realized that that this might *be* the cause of the skopeo issue.

This is another case where we definitely need more test coverage of things that
actually use the API multiple times in process; might look at dusting off the
work for the rpm-ostree test.

Closes: https://github.com/ostreedev/ostree/issues/1196
Closes: #1204
Approved by: jlebon
src/libostree/ostree-repo.c