chiark / gitweb /
buildserver: only check cache permissions when using libvirt
authorHans-Christoph Steiner <hans@eds.org>
Fri, 23 Sep 2016 13:19:15 +0000 (15:19 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 23 Sep 2016 13:20:05 +0000 (15:20 +0200)
commit1e8fd01c1e5209e5bffb1c88a5b4641c3b1d4ea5
treed91373bfb9a86fde77c44a0da52c96a7f557b37b
parentf6a487eee4348f77067a52eb76c3983027d7acc9
buildserver: only check cache permissions when using libvirt

VirtualBox runs as the same user as `fdroid`, so the cache does not need to
be accessible by the world.  On libvirt, libvirtd runs the VMs as its own
user, so in that case, the cache dirs must have permissions to let that
user access them.
makebuildserver