Commit Graph

14 Commits

Author SHA1 Message Date
Alyssa Ross
d5da6e90a0 crosvm: 111.1 -> 112.0 2023-04-09 14:35:07 +00:00
Alyssa Ross
4c80e3665c crosvm.updateScript: don't vendor Cargo.lock
This is no longer required as crosvm now includes a Cargo.lock in-tree
again.
2022-11-18 17:46:29 +00:00
Alyssa Ross
fcdbfc3d11 crosvm.updateScript: update release branch format
For R106 and onwards, upstream has gone back to not having a
separation between chromeos and not.
2022-11-18 17:46:29 +00:00
Alyssa Ross
290039f8cd crosvm: get rid of upstream-info.json
This was important when building crosvm required assembling our own
build tree from lots of different repositories, but now that they've
moved to submodules, it's overly complicated and needlessly
inconsistent with the rest of Nixpkgs.
2022-08-12 07:55:09 +00:00
Alyssa Ross
b273c33cb2 crosvm.updateScript: update repo URL
ed7d455a43
2022-07-21 16:30:56 +00:00
Alyssa Ross
c01c68bf1c crosvm.updateScript: stop trying manifest-versions
manifest-versions never seems to contain the release build any more,
so we can't use it to find the version of crosvm being served to CrOS
devices.

Instead, I've changed the update script to take the latest version of
the appropriate crosvm Chrome OS release branch.  This is the branch
that gets served.  Every release, it is branched off from the
"chromeos" branch (which is the one that passes Chrome OS QA), and
then collects any critical fixes over the lifetime of the release.

With this change, I've introduced a new, simplified versioning
scheme, e.g. 100.0.  The tip build is always 1:1 with the Chrome
version, so having both of those is redundant.  The other number is
the number of commits that have been added to the release branch after
branching from the chromeos branch, so that the number will go up if
we update to include a new commit from the same release.
2022-07-21 16:30:56 +00:00
Alyssa Ross
acdfec904d crosvm.updateScript: update for new serving dash
The old dashboard no longer exists.  Currently, the platform version
being served doesn't exist in manifest versions, but that was also a
problem we had before sometimes.
2022-07-21 16:30:56 +00:00
Alyssa Ross
931ae3ee7b crosvm.updateScript: check for . in buildspec name
Otherwise, we might only match a prefix of the version.  (Although
it's not likely to be a problem in practice — I doubt we'll end up in
a situation where there's a buildspec number 10x the one we're looking
for.)
2022-07-21 16:30:56 +00:00
Alyssa Ross
11ffcf0fdf crosvm.updateScript: remove unused import 2022-07-21 16:30:56 +00:00
Alyssa Ross
26d66fbfa9 crosvm.updateScript: generate Cargo.lock 2022-04-13 08:20:32 +00:00
Alyssa Ross
6aefdafbed crosvm: 81.12871.0.0-rc1 -> 99.14468.0.0-rc1
crosvm now uses submodules for all of its dependencies to ease
out-of-tree builds, so we no longer need to try to reconstruct a
partial Chromium OS source tree ourselves.  Yay!

But, it no longer comes with a Cargo.lock, so we have to bundle that.
2022-03-21 14:21:44 +00:00
Alyssa Ross
56e9d1f936 chromiumOSPackages.updateScript: fix buildspec url
"paladin" doesn't seem to be up to date, whereas "full" seems to match
what cros-updates-serving.appspot.com reports is currently being
shipped to Chromebooks.
2020-04-23 09:06:11 +00:00
Alyssa Ross
7e683f6393 crosvm.updateScript: use more stable update source
It has been explained to me that cros-omahaproxy reports which
versions are available to users, while cros-updates-serving reports
the latest builds available for each channel.  The latter is probably
better for our use case anyway, and apparently, while both aren't
officially supported, is less likely to randomly break.

So let's use that instead, even if it is much more annoying to parse.
2019-12-24 17:23:52 +00:00
Alyssa Ross
d3b0f178ef crosvm: init at 77.12371.0.0-rc1
Co-Authored-By: hyperfekt <git@hyperfekt.net>
2019-11-06 19:35:48 +01:00