crosvm.updateScript: update repo URL

ed7d455a43
This commit is contained in:
Alyssa Ross 2022-07-16 08:41:31 +00:00
parent c83e38c40d
commit b273c33cb2
2 changed files with 2 additions and 5 deletions

View file

@ -10,9 +10,6 @@ import subprocess
from os.path import abspath, dirname, splitext
from urllib.request import urlopen
git_path = 'chromiumos/platform/crosvm'
git_root = 'https://chromium.googlesource.com/'
# CrOS version numbers look like this:
# [<chrome-major-version>.]<tip-build>.<branch-build>.<branch-branch-build>
#
@ -50,7 +47,7 @@ with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log
# can be passed straight to fetchGit when imported by Nix.
argv = ['nix-prefetch-git',
'--fetch-submodules',
'--url', git_root + git_path,
'--url', 'https://chromium.googlesource.com/crosvm/crosvm',
'--rev', f'refs/heads/{release_branch}']
output = subprocess.check_output(argv)
data['src'] = json.loads(output.decode('utf-8'))

View file

@ -1,7 +1,7 @@
{
"version": "103.3",
"src": {
"url": "https://chromium.googlesource.com/chromiumos/platform/crosvm",
"url": "https://chromium.googlesource.com/crosvm/crosvm",
"rev": "e7db3a5cc78ca90ab06aadd5f08bb151090269b6",
"date": "2022-06-01T00:13:12+00:00",
"path": "/nix/store/r08jyffmjdq38f8yy57v8wgfjiil6586-crosvm",