aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-11-13 16:00:16 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-11-13 16:00:16 +0530
commitc90afd65554b17047757809e178d73ce3d778de7 (patch)
treeada94f7fcb39e401bec61380db43d5064276fb27
parent82bbfdd0ab1f941b7db6f27795df2869c7ebd33b (diff)
downloadlinaro-android-build-tools-c90afd65554b17047757809e178d73ce3d778de7.tar.gz
post-build-lava: add cache partition support for flashing
Change-Id: I34bd04738a3a47cac097a4498827f3741a1c7aba Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xbuild-scripts/post-build-lava.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index 8842734..6dd335f 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -706,10 +706,12 @@ def submit_job_from_url():
boot_subst = "%s%s%s" % (download_url, "/boot.", file_extension)
system_subst = "%s%s%s" % (download_url, "/system.", file_extension)
userdata_subst = "%s%s%s" % (download_url, "/userdata.", file_extension)
+ cache_subst = "%s%s%s" % (download_url, "/cache.", file_extension)
replace("job.json", "%%ANDROID_BOOT%%", boot_subst)
replace("job.json", "%%ANDROID_SYSTEM%%", system_subst)
replace("job.json", "%%ANDROID_DATA%%", userdata_subst)
+ replace("job.json", "%%ANDROID_CACHE%%", userdata_subst)
replace("job.json", "%%ANDROID_META_NAME%%", job_name)
replace("job.json", "%%JOB_NAME%%", job_name)
replace("job.json", "%%ANDROID_META_BUILD%%", build_number)