aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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