diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-18 19:43:02 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-18 19:43:34 +0000 |
commit | b1cf3d24e40e2c901900585eba28a9182c48a915 (patch) | |
tree | bc88b0e4c6a3ad9d50a4af637c1ffd6aa0ceb2be | |
parent | e168c353288161d71d4133c18179fc41ee152c19 (diff) | |
parent | bd372822e38b0e75e8cc0986d4fed989d1b56b9c (diff) | |
download | build-b1cf3d24e40e2c901900585eba28a9182c48a915.tar.gz |
Make change and version bump to OPM5.171019.016
Change-Id: I83cef2793ecb1d4ca0b4dc9fb8a3a44bc7b46a1b
-rw-r--r-- | core/build_id.mk | 2 | ||||
-rw-r--r-- | core/version_defaults.mk | 2 | ||||
-rwxr-xr-x | tools/releasetools/ota_from_target_files.py | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/core/build_id.mk b/core/build_id.mk index 0ac4cd6927..d2e7e5e9b6 100644 --- a/core/build_id.mk +++ b/core/build_id.mk @@ -18,4 +18,4 @@ # (like "CRB01"). It must be a single word, and is # capitalized by convention. -export BUILD_ID=OPM5.171019.015 +export BUILD_ID=OPM5.171019.016 diff --git a/core/version_defaults.mk b/core/version_defaults.mk index 7ebda5594f..f03d9ba34e 100644 --- a/core/version_defaults.mk +++ b/core/version_defaults.mk @@ -181,7 +181,7 @@ ifndef PLATFORM_SECURITY_PATCH # It must be of the form "YYYY-MM-DD" on production devices. # It must match one of the Android Security Patch Level strings of the Public Security Bulletins. # If there is no $PLATFORM_SECURITY_PATCH set, keep it empty. - PLATFORM_SECURITY_PATCH := 2018-02-05 + PLATFORM_SECURITY_PATCH := 2018-03-05 endif ifndef PLATFORM_BASE_OS diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 1b0f68b73b..3baacdc9d5 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, "--target_image", target_file] if source_file is not None: cmd.extend(["--source_image", source_file]) + if OPTIONS.downgrade: + max_timestamp = GetBuildProp("ro.build.date.utc", OPTIONS.source_info_dict) + else: + max_timestamp = metadata["post-timestamp"] + cmd.extend(["--max_timestamp", max_timestamp]) p1 = common.Run(cmd, stdout=log_file, stderr=subprocess.STDOUT) p1.communicate() assert p1.returncode == 0, "brillo_update_payload generate failed" |