[RFC PATCH nixpkgs 2/9] crosvm.updateScript: update release branch format

Alyssa Ross
2022-09-28T17:01:49Z

For R105 and onwards, upstream has gone back to not having a
separation between chromeos and not.

Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com>
---
pkgs/applications/virtualization/crosvm/update.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/applications/virtualization/crosvm/update.py b/pkgs/applications/virtualization/crosvm/update.py
index d912c49078c..64adec42957 100755
--- a/pkgs/applications/virtualization/crosvm/update.py
+++ b/pkgs/applications/virtualization/crosvm/update.py
@@ -34,7 +34,7 @@ with urlopen('https://chromiumdash.appspot.com/cros/download_serving_builds_csv?

chrome_major_version = chrome_version[0]
chromeos_tip_build = platform_version[0]
-release_branch = f'release-R{chrome_major_version}-{chromeos_tip_build}.B-chromeos'
+release_branch = f'release-R{chrome_major_version}-{chromeos_tip_build}.B'

# Determine the git revision.
with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/{release_branch}?format=JSON') as resp:
--
2.37.1