From 96edca8f74e195896db9f9929d2aed3100eac47f Mon Sep 17 00:00:00 2001 From: 21pages Date: Tue, 6 Aug 2024 18:19:35 +0800 Subject: [PATCH] update sysinfo rlim_max, which causing debian 13 pkexec not work (#8968) * update sysinfo rlim_max, which causing debian 13 pkexec not work Signed-off-by: 21pages * Update Cargo.toml --------- Signed-off-by: 21pages Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com> --- Cargo.lock | 2 +- libs/hbb_common/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f40d997a..b5d653579 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6229,7 +6229,7 @@ dependencies = [ [[package]] name = "sysinfo" version = "0.29.10" -source = "git+https://github.com/rustdesk-org/sysinfo#f45dcc6510d48c3a1401c5a33eedccc8899f67b2" +source = "git+https://github.com/rustdesk-org/sysinfo?branch=rlim_max#90b1705d909a4902dbbbdea37ee64db17841077d" dependencies = [ "cfg-if 1.0.0", "core-foundation-sys 0.8.6 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/libs/hbb_common/Cargo.toml b/libs/hbb_common/Cargo.toml index 048c8075f..259d01e9d 100644 --- a/libs/hbb_common/Cargo.toml +++ b/libs/hbb_common/Cargo.toml @@ -37,8 +37,8 @@ libc = "0.2" dlopen = "0.1" toml = "0.7" uuid = { version = "1.3", features = ["v4"] } -# crash, versions >= 0.29.1 are affected by #GuillaumeGomez/sysinfo/1052 -sysinfo = { git = "https://github.com/rustdesk-org/sysinfo" } +# new sysinfo issue: https://github.com/rustdesk/rustdesk/pull/6330#issuecomment-2270871442 +sysinfo = { git = "https://github.com/rustdesk-org/sysinfo", branch = "rlim_max" } thiserror = "1.0" httparse = "1.5" base64 = "0.22"