readme: allow to directly copy+paste+execute commands

plus fix s/ssh:/git:/ for protocol

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-12 10:34:52 +02:00
parent b13da548b9
commit dd76eba73e

View File

@ -13,7 +13,7 @@ Versioning of proxmox helper crates
To use current git master code of the proxmox* helper crates, add:: To use current git master code of the proxmox* helper crates, add::
git = "ssh://git.proxmox.com/git/proxmox" git = "git://git.proxmox.com/git/proxmox"
or:: or::
@ -43,13 +43,13 @@ Build
on Debian Buster on Debian Buster
Setup: Setup:
1. add 'deb http://download.proxmox.com/debian/devel/ buster main' to your sources.list 1. # echo 'deb http://download.proxmox.com/debian/devel/ buster main' >> /etc/apt/sources.list.d/proxmox-devel.list
2. [sudo] wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg 2. # sudo wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
3. [sudo] apt update 3. # sudo apt update
4. [sudo] apt install devscripts debcargo 4. # sudo apt install devscripts debcargo clang
5. git clone git://git.proxmox.com/git/proxmox-backup.git 5. # git clone git://git.proxmox.com/git/proxmox-backup.git
6. [sudo] mk-build-deps -i 6. # sudo mk-build-deps -ir
Note: 2. may be skipped if you already added the pve or pbs package repository Note: 2. may be skipped if you already added the PVE or PBS package repository
You are now able to build using the Makefile or cargo itself. You are now able to build using the Makefile or cargo itself.