[pve-devel] [PATCH storage v4 1/2] fix #5267: storage: add bzip2 support
Aaron Lauterer
a.lauterer at proxmox.com
Thu Nov 7 11:35:52 CET 2024
Does what it says. Tested in combination with the adjacent UI patch [0].
[0]
https://lore.proxmox.com/pve-devel/20240802143736.172810-1-m.sandoval@proxmox.com/
Tested-By: Aaron Lauterer <a.lauterer at proxmox.com>
On 2024-09-13 10:13, Maximiliano Sandoval wrote:
> A popular ISO compressed exclusively with bz2 is OPNsense [2].
>
> Since this requires adding `bz2` to the list of known compression
> formats we add decompression methods for vmz and tar.
>
> [2] https://opnsense.org/download/
>
> Suggested-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
>
> Differences from v3:
> - Remove gzip dependency from d/control
> - Fix typo in commit message
> - Add bz2 to VZTMPL_EXT_RE_1 regex which allow us to:
> - Fix tests
>
> Differences from v2:
> - Fix typo s/lzpo/lzop
> - Add fix to commit message
>
> Differences from v1:
> - Add more context to commit message
> - Add decompression utilities as explicit dependencies
>
> src/PVE/Storage.pm | 5 ++++-
> src/PVE/Storage/Plugin.pm | 2 +-
> src/test/archive_info_test.pm | 6 ++++--
> src/test/list_volumes_test.pm | 20 ++++++++++++++++++--
> src/test/parse_volname_test.pm | 14 +++++++-------
> src/test/path_to_volume_id_test.pm | 26 ++++++++++++++++----------
> 6 files changed, 50 insertions(+), 23 deletions(-)
>
More information about the pve-devel
mailing list