summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-05-09 09:09:01 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-05-09 09:09:01 +0200
commitd6ac516eed6fcf2caab00ecf03b12fa4482e278d (patch)
tree7fc2f666c925a3cb7bd7c68a64dfc1c4eebe6abc /lava-master/Dockerfile
parent7f0a27d56c83e053e00497d30bd56f40cc63b533 (diff)
lava-master: Ensure that device-types are owned by LAVA
Like for health-checks, device-types must be owned by lavaserver
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index f8ed805..9b56be8 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -26,6 +26,7 @@ RUN rsync -avr /usr/lib/python3/dist-packages/lava_scheduler_app/tests/device-ty
COPY device-types-patch/ /root/device-types-patch/
RUN cd /etc/lava-server/dispatcher-config/device-types/ && for patch in $(ls /root/device-types-patch/*patch) ; do sed -i 's,lava_scheduler_app/tests/device-types/,,' $patch && echo $patch && patch < $patch || exit $?; done
+RUN chown -R lavaserver:lavaserver /etc/lava-server/dispatcher-config/device-types/
COPY zmq_auth/ /etc/lava-dispatcher/certificates.d/