aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-04-08 15:19:49 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-04-18 23:43:54 +0000
commit0476469c1b5272b7a76b22082f0cd44eab24dc22 (patch)
treeaf39a9c628d586458eb4de7636bd87fbf5d882fc /utils
parentefc7c3ec0f837eabe430a966da82672ab28c0f32 (diff)
Permit to generate jobs for the upsquare
This patch adds suppport for the upsquare. Upsquare use a GRUB boot method, so we needed to add a new generic-grub-tftp boot template. Since all x86_64 use the same yocto generated build name, we add a new upsquare machine, but tweaked a bit utils/agljobtemplate.py to keep intel-corei7-64 everywhere (except for the LAVA device-type). Bug-AGL: SPEC-2075 Change-Id: I15c850fada53efbcda4fd58527d7b7414865f89d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/agljobtemplate.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index 0dcafb5..691b54f 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -122,10 +122,12 @@ class Agljobtemplate(object):
else:
url_fragment += vcs_branch + '/' + version + '/'
+ machine_frag_url = machine
if (machine == 'm3ulcb') or (machine == 'porter'):
- url_fragment += machine + '-nogfx'
- else:
- url_fragment += machine
+ machine_frag_url = machine + '-nogfx'
+ if machine == "upsquare":
+ machine_frag_url = "intel-corei7-64"
+ url_fragment += machine_frag_url
if (build_type != 'ci'):
url_fragment += '/deploy/images/' + machine