summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-11-02 08:45:39 -0700
committerGitHub <noreply@github.com>2018-11-02 08:45:39 -0700
commit4cc99509aae4b37f077dee15b8878cd5e52dbcd6 (patch)
tree1130608faf14ab2c8925d8617f3d4b008798df3f
parentf9866a336c91f07b4dd6230a4bc45b832de5718d (diff)
parent5a99c72f3fead0f4c38ab08f7d1fc0ebaf114b38 (diff)
Merge pull request #62 from montjoie/lava-patch-slave
Permit to have backported LAVA patch 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