rwx/cmd/squashfs/__init__.py
2024-02-16 21:31:38 +01:00

14 lines
246 B
Python

import cmd
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),
])