proxmox-backup/debian
Dominik Csapak e1d92bce57 datastore: data blob: allow checking for zstd internal buffer-to-small error
We want to check the error code of zstd not to be 'Destination buffer
to small' (dstSize_tooSmall),  but currently there is no practical API
that is also public. So we introduce a helper that uses the internal
logic of zstd to determine the error.

Since this is not guaranteed to be a stable api, add a test for that
so we catch that error early on build. This should be fine, as long as
the zstd behavior only changes with e.g. major debian upgrades, which
is normally the only time where the zstd version is updated.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ TL: re-order fn, rename test and reword comments ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-08-07 18:54:04 +02:00
..
scripts d/rules: patch out wrongly linked libraries from ELFs 2021-01-15 08:52:53 +01:00
source d/source: override some false-positive lintian tags 2023-05-21 14:55:06 +02:00
changelog bump version to 3.2.7-1 2024-07-03 13:34:21 +02:00
control datastore: data blob: allow checking for zstd internal buffer-to-small error 2024-08-07 18:54:04 +02:00
copyright d/copyright: update years 2024-04-24 00:34:19 +02:00
lintian-overrides d/lintian-overrides: ignore pbs2to3 using dpkg database directly 2024-01-22 15:45:40 +01:00
pmt.bc install pmt binary 2021-02-05 12:42:20 +01:00
pmtx.bc install pmtx binary 2021-01-27 11:36:15 +01:00
postinst d/postinst: check if datastore lockfile actually exists 2022-12-15 10:19:29 +01:00
prerm add daily update and maintenance task 2020-10-31 22:51:26 +01:00
proxmox-backup-client.bash-completion correctly install bash completion helpers 2019-12-03 09:52:53 +01:00
proxmox-backup-client.bc correctly install bash completion helpers 2019-12-03 09:52:53 +01:00
proxmox-backup-client.install Add zsh completion scripts 2020-02-27 06:50:14 +01:00
proxmox-backup-debug.bc add proxmox-backup-debug debian package 2021-09-02 11:25:50 +02:00
proxmox-backup-docs.install packaging: fix docs install path 2019-12-23 07:52:40 +01:00
proxmox-backup-docs.links debian: normalize packaging files with wrap-and-sort -tkn 2023-05-27 16:34:04 +02:00
proxmox-backup-docs.lintian-overrides debian/lintian-overrides: refresh and add some ok-to-ignore ones 2023-05-21 15:31:45 +02:00
proxmox-backup-file-restore.bash-completion d/control: rename proxmox-file-restore to proxmox-backup-file-restore 2021-04-12 07:56:31 +02:00
proxmox-backup-file-restore.bc d/control: rename proxmox-file-restore to proxmox-backup-file-restore 2021-04-12 07:56:31 +02:00
proxmox-backup-file-restore.install debian: normalize packaging files with wrap-and-sort -tkn 2023-05-27 16:34:04 +02:00
proxmox-backup-file-restore.postinst fix typos in comments 2024-08-07 16:49:31 +02:00
proxmox-backup-file-restore.triggers d/control: rename proxmox-file-restore to proxmox-backup-file-restore 2021-04-12 07:56:31 +02:00
proxmox-backup-manager.bc correctly install bash completion helpers 2019-12-03 09:52:53 +01:00
proxmox-backup-server.bash-completion move proxmox-backup-debug back to main crate 2021-09-21 15:10:30 +02:00
proxmox-backup-server.install docs: add documentation for notification system 2024-04-23 23:14:46 +02:00
proxmox-backup-server.maintscript docs: update package repositories 2020-11-10 13:14:04 +01:00
proxmox-backup-server.udev tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00
proxmox-tape.bc add proxmox-tape bash-completion 2021-03-06 10:22:08 +01:00
pxar.bc correctly install bash completion helpers 2019-12-03 09:52:53 +01:00
rules build: ensure wrapper config is picked up 2024-07-18 12:30:47 +02:00