move pxar binary to separate crate

and move its few remaining proxmox_backup deps out to
pbs-tools

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-19 15:53:43 +02:00
parent 0889806a3c
commit 58a3fae773
6 changed files with 57 additions and 26 deletions

View File

@ -38,7 +38,8 @@ SUBCRATES := \
pbs-runtime \
pbs-systemd \
pbs-tools \
proxmox-backup-banner
proxmox-backup-banner \
pxar-bin
ifeq ($(BUILD_MODE), release)
CARGO_BUILD_ARGS += --release
@ -163,6 +164,8 @@ $(COMPILED_BINS) $(COMPILEDIR)/dump-catalog-shell-cli $(COMPILEDIR)/docgen: .do-
$(CARGO) build $(CARGO_BUILD_ARGS) \
--package proxmox-backup-banner \
--bin proxmox-backup-banner \
--package pxar-bin \
--bin pxar \
--package proxmox-backup \
--bin dump-catalog-shell-cli \
--bin pmt --bin pmtx \