lint squashfs

This commit is contained in:
Marc Beninca 2024-06-10 09:53:51 +02:00
parent 470d7aa1e9
commit 67b8d4c981
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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