[RFC PATCH 0/8] Update chromiumPacakges

Jamie McClymont
2021-04-02T09:05:26Z

Hi all

Here's a nearly-complete(?) attempt at bumping chromiumOSPackages.

Everything under chromiumOSPackages and spectrumPackages builds except crosvm
(and therefore spectrum-vm). I've added platform2 as a dependency (a few rust
crates from there are now used) and bumped the cargoSha256, so the vendor FOD
now builds happily, but the actual `cargo build` fails with:

> error: the lock file /build/src/platform/crosvm/Cargo.lock needs to be updated but --frozen was passed to prevent this
> If you want to try to generate the lock file without accessing the network, use the --offline flag.

I haven't dealt with buildRustPackage before, so I'm not sure if this is a
standard thing that any frequent buildRustPackage user will know how to fix, or
if we're running in to an odd edge-case - emailing it in as-is in the hopes that
it's the former :)

Thanks!
Jamie McClymont

Jamie McClymont (8):
chromiumOSPackages: update 83->89
chromiumOSPackages.cros_linux: fix config
chromiumOSPackages.vm_protos: drop GN patch
chromiumOSPackages.common-mk: update patches
chromiumOSPackages.common-mk: disable clang-only warnings
chromiumOSPackages.sommelier: drop unneeded patches
chromiumOSPackages.crosvm: add platform2 dep
chromiumOSPackages.crosvm: bump cargoSha256

...-mk-don-t-leak-source-absolute-paths.patch | 14 +-
.../linux/chromium-os/common-mk/default.nix | 6 +-
.../linux/chromium-os/crosvm/default.nix | 3 +-
...melier-use-stable-xdg-shell-protocol.patch | 1748 -----------------
...mmelier-make-building-demos-optional.patch | 100 -
.../linux/chromium-os/sommelier/default.nix | 2 -
.../linux/chromium-os/upstream-info.json | 44 +-
...03-vm_tools-proto-fix-parallel-build.patch | 39 -
.../linux/chromium-os/vm_protos/default.nix | 2 -
pkgs/os-specific/linux/kernel/linux-cros.nix | 6 +-
10 files changed, 40 insertions(+), 1924 deletions(-)
delete mode 100644 pkgs/os-specific/linux/chromium-os/sommelier/0005-sommelier-use-stable-xdg-shell-protocol.patch
delete mode 100644 pkgs/os-specific/linux/chromium-os/sommelier/0006-sommelier-make-building-demos-optional.patch
delete mode 100644 pkgs/os-specific/linux/chromium-os/vm_protos/0003-vm_tools-proto-fix-parallel-build.patch

--
2.31.1