From 5a99c72f3fead0f4c38ab08f7d1fc0ebaf114b38 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 2 Nov 2018 10:43:50 +0100 Subject: Permit to have backported LAVA patch on slave Previoulsy it was possible to backport LAVA patch only on master, this patch permits it on slave. --- lava-slave/Dockerfile | 3 +++ lava-slave/lava-patch/.empty | 0 2 files changed, 3 insertions(+) create mode 100644 lava-slave/lava-patch/.empty (limited to 'lava-slave') diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile index e93764d..5ef1843 100644 --- a/lava-slave/Dockerfile +++ b/lava-slave/Dockerfile @@ -37,6 +37,9 @@ RUN git clone https://git.linaro.org/lava/lavacli.git /root/lavacli && cd /root/ COPY phyhostname /root/ COPY scripts/setup.sh . +COPY lava-patch/ /root/lava-patch +RUN cd /usr/lib/python3/dist-packages && for patch in $(ls /root/lava-patch/*patch) ; do patch -p1 < $patch || exit $?;done + COPY devices/ /root/devices/ COPY tags/ /root/tags/ COPY deviceinfo/ /root/deviceinfo/ diff --git a/lava-slave/lava-patch/.empty b/lava-slave/lava-patch/.empty new file mode 100644 index 0000000..e69de29 -- cgit 1.2.3-korg