crosvm: 114.1 -> 115.2

This commit is contained in:
Alyssa Ross 2023-08-16 22:43:29 +00:00
parent dabfd93358
commit ea322c2662

View file

@ -5,27 +5,27 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "crosvm"; pname = "crosvm";
version = "114.1"; version = "115.2";
src = fetchgit { src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm"; url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "a8b48953a7d209b32d34fe64e2324cb1113b4336"; rev = "d14053a211eb6753c53ced71fad2d3b402b997e6";
sha256 = "PdP+Jx2oIAy+gxHjJDU5YlAlSYFtoX7ey3r5ELD9QPM="; sha256 = "8p6M9Q9E07zqtHYdIIi6io9LLatd+9fH4Inod2Xjy5M=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
patches = [ patches = [
# Backport fix for non-Glibc. # Backport option to not vendor virglrenderer.
(fetchpatch { (fetchpatch {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/8afa6096aa0417ccc5de0213a241dd7ebd25ac0a%5E%21/?format=TEXT"; url = "https://chromium.googlesource.com/crosvm/crosvm/+/dde9aa0e6d89a090f5d5f000822f7911eba98445%5E%21/?format=TEXT";
decode = "base64 -d"; decode = "base64 -d";
hash = "sha256-oRwGprs/P2ZG8BM9CMzyEyM8fjuyFINQw4rjTq9rKXA="; hash = "sha256-W/s1i2reBXsbr0AOEtL9go3TNNYMwDVEu6pz3Q9wBSU=";
}) })
]; ];
separateDebugInfo = true; separateDebugInfo = true;
cargoSha256 = "EhxrtCGrwCcODCjPUONjY1glPGEXbjvk6No/g2kJzI8="; cargoSha256 = "ZXyMeu2forItGcsGrNBWhV1V9HzVQK6LM4TxBrxAZnU=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
@ -39,6 +39,8 @@ rustPlatform.buildRustPackage rec {
patchShebangs third_party/minijail/tools/*.py patchShebangs third_party/minijail/tools/*.py
''; '';
CROSVM_USE_SYSTEM_VIRGLRENDERER = true;
buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ]; buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ];
passthru.updateScript = ./update.py; passthru.updateScript = ./update.py;