mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
b05e3a5035
The DRM repository was added to checkout_commits.env without a corresponding addition in upgrade_checkout_commits.sh. Add it and upgrade all repositories. BUG=None TEST=docker/build_crosvm_base.sh && docker/wrapped_smoke_test.sh Change-Id: Iee7ae7005284cb3b7d0e8e8c983d4ef381781f8e Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1863821 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
32 lines
905 B
Bash
Executable file
32 lines
905 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2019 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
cd "${0%/*}"
|
|
|
|
remotes=(
|
|
"https://github.com/mesonbuild/meson"
|
|
"https://github.com/anholt/libepoxy.git"
|
|
"https://chromium.googlesource.com/chromiumos/third_party/tpm2"
|
|
"https://chromium.googlesource.com/chromiumos/platform2"
|
|
"https://chromium.googlesource.com/chromiumos/third_party/adhd"
|
|
"https://gitlab.freedesktop.org/mesa/drm"
|
|
)
|
|
|
|
keys=(
|
|
"MESON_COMMIT"
|
|
"LIBEPOXY_COMMIT"
|
|
"TPM2_COMMIT"
|
|
"PLATFORM2_COMMIT"
|
|
"ADHD_COMMIT"
|
|
"DRM_COMMIT"
|
|
)
|
|
|
|
for (( i=0; i<${#remotes[*]}; ++i)); do
|
|
remote="${remotes[$i]}"
|
|
key="${keys[$i]}"
|
|
remote_chunk=$(git ls-remote --exit-code "${remote}" refs/heads/master)
|
|
commit=$(echo "${remote_chunk}" | cut -f 1 -)
|
|
echo $key=$commit
|
|
done
|