mypy/squashfs
This commit is contained in:
parent
378a212786
commit
51b4f0f5f2
1 changed files with 7 additions and 9 deletions
|
@ -8,13 +8,11 @@ cmd.need("mksquashfs")
|
||||||
def mksquashfs(input_root: str, output_file: str) -> None:
|
def mksquashfs(input_root: str, output_file: str) -> None:
|
||||||
"""Make a SquashFS bootable image file."""
|
"""Make a SquashFS bootable image file."""
|
||||||
ps.run(
|
ps.run(
|
||||||
[
|
"mksquashfs",
|
||||||
"mksquashfs",
|
input_root,
|
||||||
input_root,
|
output_file,
|
||||||
output_file,
|
"-comp",
|
||||||
"-comp",
|
"zstd",
|
||||||
"zstd",
|
"-Xcompression-level",
|
||||||
"-Xcompression-level",
|
str(18),
|
||||||
str(18),
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue