Commit graph

8 commits

Author SHA1 Message Date
Đoàn Trần Công Danh
9e76db6117 vsrcextract: support partial extract
e.g:

	vsrcextract -C dst --strip-components=3 archive.tar.gz path/to/asset
2025-01-05 11:37:58 +07:00
Đoàn Trần Công Danh
ea2839018e setup/archive: non-tar gz/xz fix non non-supplied $dst 2024-01-20 14:30:19 +07:00
oreo639
b8edfe56a5 setup/archive: fix extraction of non-tar gz/bz2/xz/zst archives
Extract archive in the destination directory instead of the source
directory.
2024-01-18 13:44:17 -08:00
Đoàn Trần Công Danh
a6c4206699 vsrccopy: fix detection of last argument 2023-08-30 22:48:53 +07:00
Đoàn Trần Công Danh
fe0d548527 vsrcextract: drop the heuristic to prefer tar over bsdtar
Only kexec-tools has problem with bsdtar, the heuristic is problematic
with those packages with tar in hostmakedepends
2023-08-28 17:03:37 +07:00
Đoàn Trần Công Danh
77a4de4385 xen: use vsrcextract 2023-08-21 11:27:32 +07:00
Đoàn Trần Công Danh
a1d3f7de1d kexec-tools: drop custom do_extract 2023-08-21 11:27:32 +07:00
Đoàn Trần Công Danh
2deec738e1 do-extract: move main logic into helper function 2023-08-21 11:27:32 +07:00