diff --git a/Cargo.toml b/Cargo.toml index 76c41a7fc..71deacd4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,8 @@ members = [ "pbs-runtime", "pbs-systemd", "pbs-tools", + + "proxmox-backup-banner", ] [lib] diff --git a/Makefile b/Makefile index 5ca7c0310..0ca0457ed 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,8 @@ SUBCRATES := \ pbs-datastore \ pbs-runtime \ pbs-systemd \ - pbs-tools + pbs-tools \ + proxmox-backup-banner ifeq ($(BUILD_MODE), 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-manager --bin docgen $(CARGO) build $(CARGO_BUILD_ARGS) \ + --package proxmox-backup-banner \ + --bin proxmox-backup-banner \ + --package proxmox-backup \ --bin dump-catalog-shell-cli \ --bin pmt --bin pmtx \ - --bin proxmox-backup-banner \ --bin proxmox-backup-client \ --bin proxmox-daily-update \ --bin proxmox-file-restore \ diff --git a/proxmox-backup-banner/Cargo.toml b/proxmox-backup-banner/Cargo.toml new file mode 100644 index 000000000..a78f6a070 --- /dev/null +++ b/proxmox-backup-banner/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "proxmox-backup-banner" +version = "0.1.0" +authors = ["Proxmox Support Team "] +edition = "2018" + +[dependencies] +proxmox = { version = "0.11.5", default-features = false, features = [] } diff --git a/src/bin/proxmox-backup-banner.rs b/proxmox-backup-banner/src/main.rs similarity index 100% rename from src/bin/proxmox-backup-banner.rs rename to proxmox-backup-banner/src/main.rs