From d6ac516eed6fcf2caab00ecf03b12fa4482e278d Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 9 May 2019 09:09:01 +0200 Subject: lava-master: Ensure that device-types are owned by LAVA Like for health-checks, device-types must be owned by lavaserver --- lava-master/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'lava-master') 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/ -- cgit 1.2.3-korg