summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot2018-01-18 13:08:50 -0600
committerandroid-build-team Robot2018-01-18 13:09:32 -0600
commit04ecc0ca2c4b42adf287af3d49540e01eece39dd (patch)
treef285f0b3632608c09894e599a789dcff34d058b3
parent4fe054ff3a4f99fe294f055bea56dfc815f2fbc8 (diff)
parent9de91d94e8224314f856d0d3c884142ef5d71f44 (diff)
downloadplatform-build-04ecc0ca2c4b42adf287af3d49540e01eece39dd.tar.gz
platform-build-04ecc0ca2c4b42adf287af3d49540e01eece39dd.tar.xz
platform-build-04ecc0ca2c4b42adf287af3d49540e01eece39dd.zip
Make change and version bump to OPM1.171019.020
Change-Id: I536342bbbf0715464f8196f61601a7b4245b155d
-rw-r--r--core/build_id.mk2
-rw-r--r--core/version_defaults.mk2
-rwxr-xr-xtools/releasetools/ota_from_target_files.py5
3 files changed, 7 insertions, 2 deletions
diff --git a/core/build_id.mk b/core/build_id.mk
index ed089653a..0006d909e 100644
--- a/core/build_id.mk
+++ b/core/build_id.mk
@@ -18,4 +18,4 @@
18# (like "CRB01"). It must be a single word, and is 18# (like "CRB01"). It must be a single word, and is
19# capitalized by convention. 19# capitalized by convention.
20 20
21export BUILD_ID=OPM1.171019.019 21export BUILD_ID=OPM1.171019.020
diff --git a/core/version_defaults.mk b/core/version_defaults.mk
index 7ebda5594..f03d9ba34 100644
--- a/core/version_defaults.mk
+++ b/core/version_defaults.mk
@@ -181,7 +181,7 @@ ifndef PLATFORM_SECURITY_PATCH
181 # It must be of the form "YYYY-MM-DD" on production devices. 181 # It must be of the form "YYYY-MM-DD" on production devices.
182 # It must match one of the Android Security Patch Level strings of the Public Security Bulletins. 182 # It must match one of the Android Security Patch Level strings of the Public Security Bulletins.
183 # If there is no $PLATFORM_SECURITY_PATCH set, keep it empty. 183 # If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
184 PLATFORM_SECURITY_PATCH := 2018-02-05 184 PLATFORM_SECURITY_PATCH := 2018-03-05
185endif 185endif
186 186
187ifndef PLATFORM_BASE_OS 187ifndef PLATFORM_BASE_OS
diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py
index 1b0f68b73..3baacdc9d 100755
--- a/tools/releasetools/ota_from_target_files.py
+++ b/tools/releasetools/ota_from_target_files.py
@@ -1077,6 +1077,11 @@ def WriteABOTAPackageWithBrilloScript(target_file, output_file,
1077 "--target_image", target_file] 1077 "--target_image", target_file]
1078 if source_file is not None: 1078 if source_file is not None:
1079 cmd.extend(["--source_image", source_file]) 1079 cmd.extend(["--source_image", source_file])
1080 if OPTIONS.downgrade:
1081 max_timestamp = GetBuildProp("ro.build.date.utc", OPTIONS.source_info_dict)
1082 else:
1083 max_timestamp = metadata["post-timestamp"]
1084 cmd.extend(["--max_timestamp", max_timestamp])
1080 p1 = common.Run(cmd, stdout=log_file, stderr=subprocess.STDOUT) 1085 p1 = common.Run(cmd, stdout=log_file, stderr=subprocess.STDOUT)
1081 p1.communicate() 1086 p1.communicate()
1082 assert p1.returncode == 0, "brillo_update_payload generate failed" 1087 assert p1.returncode == 0, "brillo_update_payload generate failed"