From b28d6ba4a098a4a76f44242b0d48cae88b03bb7f Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 19 Oct 2018 10:51:46 +0200 Subject: 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. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- cgit 1.2.3-korg