summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-11-02 10:43:50 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-11-02 16:43:21 +0100
commit5a99c72f3fead0f4c38ab08f7d1fc0ebaf114b38 (patch)
treecea7cf74964d6b4633084932e8a5d3f962e70323
parent35f9ef3bbbc39bc190a168db4994872d3aecc689 (diff)
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.
-rw-r--r--lava-slave/Dockerfile3
-rw-r--r--lava-slave/lava-patch/.empty0
2 files changed, 3 insertions, 0 deletions
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
--- /dev/null
+++ b/lava-slave/lava-patch/.empty