Proxmox-Port/packages/pve-installer/patches/other/001-add-riscv64-loongarch64-sid-support.patch
2024-11-23 08:18:17 +00:00

26 lines
971 B
Diff

diff --git a/debian/control b/debian/control
index 04b0c6e..efa61d0 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Build-Depends: cargo:native,
librust-glob-0.3-dev,
librust-hex-0.4-dev,
librust-native-tls-dev,
- librust-nix-0.26+default-dev,
+ librust-nix-0.29+default-dev [loong64 riscv64],
+ librust-nix-0.26+default-dev [arm64 amd64],
librust-regex-1+default-dev (>= 1.7~~),
librust-rustls-0.21+dangerous-configuration-dev,
librust-rustls-native-certs-dev,
diff --git a/proxmox-chroot/Cargo.toml b/proxmox-chroot/Cargo.toml
index 4a27bf7..0497cfa 100644
--- a/proxmox-chroot/Cargo.toml
+++ b/proxmox-chroot/Cargo.toml
@@ -14,4 +14,4 @@ serde_json.workspace = true
regex.workspace = true
clap = { version = "4.0", features = ["derive"] }
-nix = "0.26.1"
+nix = { version = "0.29.0", features = ["mount"] }