diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-18 22:44:45 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-18 22:45:08 +0000 |
commit | b3a3acd304a8cbe5ce28337d3f22b48727f5d45e (patch) | |
tree | b6169a4675006f3889406442ca81460d675665fa | |
parent | f7818c795d52876418f9a004ad7c1c3fc3ba34ce (diff) | |
parent | edb20e3e7bde577471a10154a0fae811ad8cf7f6 (diff) | |
download | platform_build-b3a3acd304a8cbe5ce28337d3f22b48727f5d45e.tar.gz platform_build-b3a3acd304a8cbe5ce28337d3f22b48727f5d45e.tar.bz2 platform_build-b3a3acd304a8cbe5ce28337d3f22b48727f5d45e.zip |
Make change and version bump to OPM2.171019.023
Change-Id: Ibc40b0be8d61f1b98f28bf22f2f590e7b8580f17
-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 fe29a2b5e7..092a5e2492 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=OPM2.171019.022 +export BUILD_ID=OPM2.171019.023 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" |