add proxmox-backup-debug debian package

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-09-02 10:32:29 +02:00
parent 4c1b776168
commit df12c9ec4e
10 changed files with 87 additions and 6 deletions

7
debian/control vendored
View File

@ -175,3 +175,10 @@ Description: Proxmox Backup single file restore tools for pxar and block device
This package contains the Proxmox Backup single file restore client for
restoring individual files and folders from both host/container and VM/block
device backups. It includes a block device restore driver using QEMU.
Package: proxmox-backup-debug
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
Description: Proxmox Backup debug tool
Provides a tool to inspect the files of a Proxmox Backup datastore.

View File

@ -0,0 +1 @@
debian/proxmox-backup-debug.bc proxmox-backup-debug

8
debian/proxmox-backup-debug.bc vendored Normal file
View File

@ -0,0 +1,8 @@
# proxmox-backup-debug bash completion
# see http://tiswww.case.edu/php/chet/bash/FAQ
# and __ltrim_colon_completions() in /usr/share/bash-completion/bash_completion
# this modifies global var, but I found no better way
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
complete -C 'proxmox-backup-debug bashcomplete' proxmox-backup-debug

3
debian/proxmox-backup-debug.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/sbin/proxmox-backup-debug
usr/share/man/man1/proxmox-backup-debug.1
usr/share/zsh/vendor-completions/_proxmox-backup-debug

1
debian/rules vendored
View File

@ -54,6 +54,7 @@ override_dh_strip:
debian/proxmox-backup-client/usr \
debian/proxmox-backup-server/usr \
debian/proxmox-backup-file-restore \
debian/proxmox-backup-debug/usr \
-executable -type f); do \
debian/scripts/elf-strip-unused-dependencies.sh "$$exe" || true; \
done