Skip to content

Commit

Permalink
build_slider: Check aosp/ dir against android12-5.10-m2107
Browse files Browse the repository at this point in the history
As we move to taking -release images, the aosp/ directory is being set
to a SHA from android12-5.10-m2107. Update the aosp/ vs manifest check
to reflect that.

Bug: 194513402
Signed-off-by: J. Avila <[email protected]>
Change-Id: I607bef03950158af46a2edd0d6dc0709a943e99f
  • Loading branch information
J. Avila committed Jul 28, 2021
1 parent feea66e commit c4e5bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_slider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [ "${EXPERIMENTAL_BUILD}" = "0" -a "${BUILD_KERNEL}" != "0" ]; then
sed -n "s/^.*revision=\"\([0-9a-fA-F]*\)\".*/\1/p")
pushd aosp/ > /dev/null
# Booting AOSP ToT does not always work; throw a warning to prevent this.
LOCAL_MERGE_BASE=$(git merge-base HEAD aosp/android12-5.10)
LOCAL_MERGE_BASE=$(git merge-base HEAD aosp/android12-5.10-m2107)
if [ -n "${LOCAL_MERGE_BASE}" -a \
"${MANIFEST_SHA}" != "${LOCAL_MERGE_BASE}" ]; then
echo "Your aosp/ directory appears to be synced to a point beyond the"
Expand Down

0 comments on commit c4e5bc3

Please sign in to comment.