mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
1dab58a2cf
This search/replace updates all copyright notices to drop the "All rights reserved", Use "ChromiumOS" instead of "Chromium OS" and drops the trailing dots. This fulfills the request from legal and unifies our notices. ./tools/health-check has been updated to only accept this style. BUG=b:246579983 TEST=./tools/health-check Change-Id: I87a80701dc651f1baf4820e5cc42469d7c5f5bf7 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3894243 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com>
43 lines
937 B
Bash
Executable file
43 lines
937 B
Bash
Executable file
#!/bin/sh
|
|
# Copyright 2021 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Uprev ebuild files of crosvm (and related packages) to the currently checked
|
|
# out commit.
|
|
# This uses the same process that PUpr is using when generating uprev CLs.
|
|
|
|
cd $(dirname $0)
|
|
|
|
CHROMITE_DIR=../../../../../chromite
|
|
if ! [ -e "${CHROMITE_DIR}" ]; then
|
|
echo "Run from ChromeOS checkout."
|
|
exit 1
|
|
fi
|
|
|
|
IN=$(mktemp)
|
|
OUT=$(mktemp)
|
|
|
|
echo '{
|
|
"package_info": {
|
|
"category": "chromeos-base",
|
|
"package_name": "crosvm"
|
|
},
|
|
"versions": [
|
|
{
|
|
"repository": "dummy",
|
|
"ref": "dummy",
|
|
"revision": "dummy"
|
|
}
|
|
]
|
|
}' >> "${IN}"
|
|
|
|
${CHROMITE_DIR}/bin/build_api \
|
|
--input-json "${IN}" \
|
|
--output-json "${OUT}" \
|
|
chromite.api.PackageService/UprevVersionedPackage
|
|
|
|
cat "${OUT}"
|
|
|
|
rm "${IN}"
|
|
rm "${OUT}"
|