mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Since the minijail Rust wrapper API can change in incompatible ways (such as the recent 0.2.0 version bump), track the minijail commit like other external repositories in checkout_commits.env. BUG=chromium:1105157 TEST=docker/build_crosvm_base.sh && docker/wrapped_smoke_test.sh Change-Id: I7dd12327e924806374bae951dd31128726d92099 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2295842 Tested-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
34 lines
993 B
Bash
Executable file
34 lines
993 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"
|
|
"https://android.googlesource.com/platform/external/minijail"
|
|
)
|
|
|
|
keys=(
|
|
"MESON_COMMIT"
|
|
"LIBEPOXY_COMMIT"
|
|
"TPM2_COMMIT"
|
|
"PLATFORM2_COMMIT"
|
|
"ADHD_COMMIT"
|
|
"DRM_COMMIT"
|
|
"MINIJAIL_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
|