add proxmox-backup-banner binary crate

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-07-12 10:45:09 +02:00
parent 9008c0c177
commit b9c5cd8291
4 changed files with 15 additions and 2 deletions

View File

@ -26,6 +26,8 @@ members = [
"pbs-runtime", "pbs-runtime",
"pbs-systemd", "pbs-systemd",
"pbs-tools", "pbs-tools",
"proxmox-backup-banner",
] ]
[lib] [lib]

View File

@ -36,7 +36,8 @@ SUBCRATES := \
pbs-datastore \ pbs-datastore \
pbs-runtime \ pbs-runtime \
pbs-systemd \ pbs-systemd \
pbs-tools pbs-tools \
proxmox-backup-banner
ifeq ($(BUILD_MODE), release) ifeq ($(BUILD_MODE), release)
CARGO_BUILD_ARGS += --release CARGO_BUILD_ARGS += --release
@ -159,9 +160,11 @@ $(COMPILED_BINS) $(COMPILEDIR)/dump-catalog-shell-cli $(COMPILEDIR)/docgen: .do-
--bin proxmox-backup-api --bin proxmox-backup-proxy \ --bin proxmox-backup-api --bin proxmox-backup-proxy \
--bin proxmox-backup-manager --bin docgen --bin proxmox-backup-manager --bin docgen
$(CARGO) build $(CARGO_BUILD_ARGS) \ $(CARGO) build $(CARGO_BUILD_ARGS) \
--package proxmox-backup-banner \
--bin proxmox-backup-banner \
--package proxmox-backup \
--bin dump-catalog-shell-cli \ --bin dump-catalog-shell-cli \
--bin pmt --bin pmtx \ --bin pmt --bin pmtx \
--bin proxmox-backup-banner \
--bin proxmox-backup-client \ --bin proxmox-backup-client \
--bin proxmox-daily-update \ --bin proxmox-daily-update \
--bin proxmox-file-restore \ --bin proxmox-file-restore \

View File

@ -0,0 +1,8 @@
[package]
name = "proxmox-backup-banner"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
[dependencies]
proxmox = { version = "0.11.5", default-features = false, features = [] }