summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-10-19 10:51:46 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-10-19 10:51:46 +0200
commitb28d6ba4a098a4a76f44242b0d48cae88b03bb7f (patch)
tree13420b832b87608b04f52e1ffbb62ce1aa05318d
parent0f7ffcbeed3d80517be1c05a53a5da8fe759a503 (diff)
README: add documentation on how to add patch for LAVA and device-type
lava-docker can patch LAVA and add/modify device-types, but the documentation was lacking on how to do it.
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 32f53ed..2b9afdf 100644
--- a/README.md
+++ b/README.md
@@ -379,3 +379,14 @@ For building an arm64 lava-docker, some little trick are necesssary:
For building lava-xxx-base images
- replace "bitnami/minideb" by "arm64v8/debian" on lava-master-base/lava-slave-base dockerfiles.
+
+## How to add custom LAVA patchs
+You can add custom or backported LAVA patchs in lava-master/lava-patch
+Doing the same for lava-slave will be done later.
+
+## How to add/modify custom devices type
+There are two way to add custom devices types.
+* Copy a device type file directly in lava-master/device-types/
+ If you have a brand new device-type, it is the simpliest way.
+* Copy a patch addding/modifying a device-type in lava-master/device-types-patch/
+ If you are modifying an already present (upstream) device-type, it is the best way.