[pbs-devel] [PATCH vma-to-pbs] Initial commit

Lukas Wagner l.wagner at proxmox.com
Fri Sep 29 15:38:17 CEST 2023



On 9/29/23 15:22, Filip Schauer wrote:
>>> --- /dev/null
>>> +++ b/.gitmodules
>>> @@ -0,0 +1,6 @@
>>> +[submodule "submodules/proxmox-backup-qemu"]
>>> +    path = submodules/proxmox-backup-qemu
>>> +    url = git://git.proxmox.com/git/proxmox-backup-qemu.git
>>> +[submodule "submodules/proxmox"]
>>> +    path = submodules/proxmox
>>> +    url = git://git.proxmox.com/git/proxmox.git
>> ^ We don't need proxmox.git as submodule.
> We use proxmox_sys::linux::tty::read_password.

I believe what Wolfgang meant was that you do not to need to add
proxmox.git as a submodule. Since you patch crate.io with the local
registry at /usr/share/cargo, you can just install the dependencies
that you need via apt and use them just as any other dep inside your
Cargo.toml file.

Since you need `proxmox-sys`, the required package would be
`librust-proxmox-sys-dev`. The newest packaged version is 0.5.0-1,
so you'd need to add

proxmox-sys = "0.5.0"

to your Cargo.toml file.


-- 
- Lukas





More information about the pbs-devel mailing list