summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-09 12:07:54 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-02-02 14:20:54 +0100
commite93a8b174964a1cff91bfe3da8560ae3bdc41a8e (patch)
treeb6a41fadc6f405c6517b5f87be62af98f00602cf /lavalab-gen.py
parent01f55d2fd3ea0e9620bb631dd91e475444393099 (diff)
stick to LAVA 2017.11
Since LAVA packages are ephemeral, this patch permit to build a know release of LAVA. Introducing scripts/build-lava which builds from source any LAVA compoments from any version tag. In the same time, stick to 2017.11 as its a know working release for lava-docker.
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index e5f5db0..379f6b9 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -7,6 +7,7 @@ import argparse
import yaml
import string
import socket
+import shutil
# Defaults
boards_yaml = "boards.yaml"
@@ -146,6 +147,8 @@ def main(args):
yaml.dump(dockcomp, f)
if __name__ == "__main__":
+ shutil.copy("common/build-lava", "lava-slave/scripts/build-lava")
+ shutil.copy("common/build-lava", "lava-master/scripts/build-lava")
parser = argparse.ArgumentParser()
parser.add_argument("--header", help="use this file as header for output file")
args = parser.parse_args()