This commit is contained in:
Marc Beninca 2024-02-16 21:11:28 +01:00
parent 07a596711d
commit ba03b50992
3 changed files with 39 additions and 0 deletions

14
cmd/squashfs/__init__.py Normal file
View file

@ -0,0 +1,14 @@
from ... import cmd
from ... import ps
cmd.need('mksquashfs')
def mksquashfs(input_root: str, output_file: str):
ps.run([
'mksquashfs',
input_root,
output_file,
'-comp', 'zstd',
'-Xcompression-level', str(18),
])