Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Rust package devel repo

jiangcuo edited this page Jan 3, 2023 · 2 revisions

Devel repo contains the source for the Rust crate needed by building proxmox rust packages.

pve official devel repo

Their names are of the form librust-xxxxx-dev.

These packages contains the source for the rust xxx crate,no binarys. When repacked done, we can easy to solve proxmox-rust-packages depends (E.g. proxmox-apt,proxmox-backup-qemu) by using command mk-build-deps --install.

Debian devscripts will be reading debian/control file and auto-install depends.

Cargo will search crates in /usr/share/cargo/registry/ but not crates.io

We can easy download these by using apt-mirror ,then extract and replace amd64 in debian/control with arm64. Finally use command dpkg-deb -Zxz -b to archive new arm64 packages.

repack.sh is a simple script to repack .

Now, I have created a arm64 devel repo only contain rust packages.

deb https://mirrors.apqa.cn/proxmox/ pvearmdev main

Clone this wiki locally