Update scripts to support Raring
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
diff --git a/build_images.py b/build_images.py
index 0763734..4c35cc5 100755
--- a/build_images.py
+++ b/build_images.py
@@ -281,8 +281,8 @@
p.add_argument('-b', dest='binaries', action='append',
help='The binaries to generate for, default=%s' %
', '.join(binaries))
- p.add_argument('-p', dest='platform', default='quantal',
- help='The platform, default=quantal')
+ p.add_argument('-p', dest='platform', default='raring',
+ help='The platform, default=raring')
p.add_argument('-pw', dest='platform_hwpack', default=False,
help='The platform for hwpack, default - same as platform')
p.add_argument('-o', dest='out_dir', default='./out',
diff --git a/crawler.py b/crawler.py
index fda42d4..924ba2b 100755
--- a/crawler.py
+++ b/crawler.py
@@ -96,4 +96,4 @@
print " %s: %s" % hwpack
print "latest nano:"
- print " %s %s" % latest_rfs('http://snapshots.linaro.org/quantal/images/nano')
+ print " %s %s" % latest_rfs('http://snapshots.linaro.org/raring/images/nano')
diff --git a/lava-submit.py b/lava-submit.py
index 3eea655..823c113 100755
--- a/lava-submit.py
+++ b/lava-submit.py
@@ -140,7 +140,7 @@
# tests set specific to an image
if distribution == 'openembedded':
tests = tests_openembedded_minimal
- elif distribution == 'ubuntu' or distribution == 'quantal':
+ elif distribution == 'ubuntu' or distribution == 'quantal' or distribution == 'raring':
tests = tests_nano
# if ubuntu-desktop, cover more test cases (LEB)
@@ -188,7 +188,7 @@
'options': ['boot_cmds=boot_cmds_oe']
}
}]
- elif distribution == 'ubuntu' or distribution == 'quantal':
+ elif distribution == 'ubuntu' or distribution == 'quantal' or distribution == 'raring':
actions = [{
'command': 'deploy_linaro_image',
'parameters': {
@@ -203,7 +203,7 @@
}]
if len(tests) > 0:
- if distribution == 'quantal':
+ if distribution == 'quantal' or distribution == 'raring':
distribution = 'ubuntu'
test_list = []
for test in tests: