Does what it says. Tested in combination with the adjacent UI patch [0].


[0] https://lore.proxmox.com/pve-devel/20240802143736.172810-1-m.sando...@proxmox.com/

Tested-By: Aaron Lauterer <a.laute...@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.iva...@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sando...@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(-)



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to